1753943 Members
9175 Online
108811 Solutions
New Discussion юеВ

Re: memory size

 
mrid
New Member

memory size

Hi,

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

best regard,
4 REPLIES 4
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
New Member

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