HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
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