Operating System - HP-UX
1752788 Members
6307 Online
108789 Solutions
New Discussion юеВ

Re: User wise memory utilization

 
bchinnat
Frequent Advisor

User wise memory utilization

Hi,

How to find user-wise memory utilization in HP-UX and also the total utilized memory percentage?

Thanks In advance.

Thanks,
Bala.
3 REPLIES 3
P Muralidhar Kini
Honored Contributor

Re: User wise memory utilization

Hi Bala,

UNIX95= ps -eo "user,pcpu,vsz"

Check the following link for similar discussion -
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1273738783475+28353475&threadId=1316928
http://www.unix.com/hp-ux/17438-how-determine-cpu-memory-percentage-usage-per-user.html

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
Bill Hassell
Honored Contributor

Re: User wise memory utilization

The man pages for ps are very helpful. You probably want to see the process names and arguments too:

UNIX95= ps -eo "vsz,user,pcpu,args"

If you need to find the processes using the most memory, add sort to the end:

UNIX95= ps -eo "vsz,user,pcpu,args" | sort -rn


Bill Hassell, sysadmin
P Muralidhar Kini
Honored Contributor

Re: User wise memory utilization

Hi Bala,

From your forum profile -
>> I have assigned points to 34 of 72 responses to my questions.

Refer the following link which says how you can thank the forum -
http://forums13.itrc.hp.com/service/forums/helptips.do?#28

Regards,
Murali
Let There Be Rock - AC/DC