[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "who"



On Wed, 24 Jun 1998, guy keren wrote:

:
:On Fri, 19 Jun 1998, Yannai A. Gonczarowski wrote:
:
:> > who
:> who: Memory exhausted
:> > who am i
:> who: Memory exhausted
:> > whoami
:> yannaigo
:
:1. check what you get with:  which who
: (Assuming you're using csh or tcsh as your shell).
:2. find the file that actually gets run, check its size and contents.
: also, it might be that you've got some kind of infinite alias loop
: there?
:
:guy

"acct on", or simply "rm /var/adm/[wu]tmpx"

who tries to read utmpx (or wtmpx, it depends on whther you use GNU acct
or SysV like tools). Size of file may grow up to tens of MBs in a short
time on server (just for example: wtmpx, which is smaller than utmpx, is
now 15 MB on Solaris machine which is open for 12 users only, just 3 weeks
of harvest...

.---..-._.-..---..---. || Omer Mussaev <omer@cs.bgu.ac.il> 051308214
| | || \./ || ==:| |-< || ------------------------------------------|
`---'`-' `-'`---'`-'`/ ||  CS system/network staff  
Life is sequential.  \/||  Ben Gurion University of Negev, Israel