Thread: memory by pid
View Single Post

   
  #3 (permalink)  
Old 01-16-2008, 07:57 PM
Adolfo
 
Posts: n/a
Default Re: memory by pid

Hi!


with top I have the following output for vfxsd, size and res


Memory: 92468K (54628K) real, 150644K (99824K) virtual, 419316K free
Page# 1/11

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU
COMMAND
0 ?
48 root 152 20 832K 832K run 0:02 0.38 0.38
vxfsd


But what does it mean, with UNIX95

root:/ #UNIX95= ps -ef -o pid,sz,vsz,comm|grep vxfsd
PID SZ VSZ COMMAND
48 0 0 vxfsd

Where is pstat?

root:/ #find / -name pstat
/usr/include/sys/pstat
/var/adm/sw/save/PHKL_31500/C-INC/usr/include/sys/pstat
root:/ #/usr/include/sys/pstat
ksh: /usr/include/sys/pstat: cannot execute

Regards
Don Morris escribió:
> Adolfo wrote:
>
>> Hello,
>>
>>
>> Is there any command to see the memory, physical and swap, that it is
>> using any process?
>>
>> Regards

>
>
> UNIX95=1 ps -ef -o pid,sz,vsz,comm
>
> should get you started. If you need something more detailed (usage by
> object type) you'll need to use pstat or Glance.
>
> Don

Reply With Quote