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

Re: Can't see procesess running on 'top'







Something is wrong when I do the 'top' command.   It only show me the
following screen:


  7:13pm  up 38 days, 20:23,  1 user,  load average: 2.00, 2.01, 2.00
76 processes: 72 sleeping, 4 running, 0 zombie, 0 stopped
CPU states: 72.4% user, 27.5% system,  0.0% nice,  0.2% idle
Mem:  127776K av, 125408K used,   2368K free,  47776K shrd,  43080K buff

Swap: 256968K av,      0K used, 256968K free                 20960K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME
COMMAND
>>>


I can't see the processes below the arrow line.  what's wrong?
I have Redhat 5.2 with me


Hmm, normally programs like top and ps get there info out /dev/kmem and/or
/dev/mem. In order to read that, the r-bit bit for 'others' should be on (but
don't do that), or top should be suid-root.
First try to run top as root, if all 's right then, then that's the problem.


Ciao, Marco










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