'Top' command questions

NielZ

Registered
I'm playing around with the terminal, and i often use the top command to see how my system's doing. I see things like:
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
370 iTunes 26.8% 15:41.81 9 142 181 6.41M 6.96M 9.79M 59.8M

Waht are all the 'TIME', 'RSIZE and 'RPRVT' and stuff...? If anyone could explain all this to me... tnx.
 
Try issuing a 'man top'

You'll get info like:
PID the Unix process id.
COMMAND the Unix command name.
%CPU the percentage of cpu consumed (kernel and user).
TIME the absolute cpu consumption (min:secs.hundreths).

#TH the number of threads.
#PRTS(delta) the number of mach ports.
#MREG the number of memory regions.
VPRVT(-w only) the private address space currently allocated.
RPRVT(delta) the resident private memory.
RSHRD(delta) the resident shared memory (as represented by the res-
ident page count of each shared memory object).
RSIZE(delta) the total resident memory (real pages that this pro-
cess currently has associated with it. Some may be
shared by other processes).
VSIZE(delta) the total address space currently allocated (including
shared).


dani++
 
Speaking of top...



anyone get the GNU top command to compile? I couldn't - I think it latches into the kernel or something. I like gnu top better because its interactive and can also since screen size. Can't say I like gnu though ;-)
 
Back
Top