cancel
Showing results for 
Search instead for 
Did you mean: 

memory size

mrid
Occasional Visitor

memory size

Hi,

I want knowing command to view total size memory used by user?

best regard,
4 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: memory size

what OS version ?

you can check using

glance
Problems are common to all, but attitude makes the difference
mrid
Occasional Visitor

Re: memory size

Hi,

The OS version is HP-UX 11i.

glance view just total memory for all users but i want display total memory used by each users.

Thanks,
Tingli
Esteemed Contributor

Re: memory size

Just pulled out from below thread. It gives out the memory usage of each process. For details, you can check man page of ps.

UNIX95= ps -e -o pid,vsz,comm
Johnson Punniyalingam
Honored Contributor

Re: memory size

Hope you can't filter like that by user

you may have rough calucation about told Mem. and User Usage mem in Glance

or if you look for kememinfo - tool in ITRC - will help to show you

Y

# UNIX95= ps -ef -o pid,ruser,vsz,args|sort -nrk3


# UNIX95= ps -ef -o pid,ruser,pcpu,args|tr -d "%" |awk '{if($4>=90) print $0}'
Problems are common to all, but attitude makes the difference