Operating System - HP-UX
1752595 Members
3428 Online
108788 Solutions
New Discussion юеВ

Re: Memory Usage by User.

 
Barakati
Frequent Advisor

Memory Usage by User.

Hi

Could anybody show me how to find memory and cpu usage by each user and porcess.


Thanks in advance.
14 REPLIES 14
Barakati
Frequent Advisor

Re: Memory Usage by User.

Version: HP_UX 11.31
Ganesan R
Honored Contributor

Re: Memory Usage by User.

Hi,

You can see the cumulative usage of memory and cpu systemwise and userwise by using top, sar, glance.

If you want to know the memory usage per process you can use the too1 kmeminfo.
Best wishes,

Ganesh.
Asif Sharif
Honored Contributor

Re: Memory Usage by User.

Hi,

use glance /kmeminfo.

Regards,
Asif Sharif
Regards,
Asif Sharif
Venkatesh BL
Honored Contributor

Re: Memory Usage by User.

'top' shows the process specific breakup of cpu%, mem (RES) etc.
Sani
Frequent Advisor

Re: Memory Usage by User.

Hi ,

glance will give all such information.
Johnson Punniyalingam
Honored Contributor

Re: Memory Usage by User.

Hi ,

You can run Glance, will show memory and CPU usage by each user.
(more info man glance)

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
T G Manikandan
Honored Contributor

Re: Memory Usage by User.

ps -e -o ruser,pid,vsz=Kbytes --sort user|grep
T G Manikandan
Honored Contributor

Re: Memory Usage by User.

The above would be just an approximation of usage and hence called virtual size, to get the right usage use tools like Glance Plus.
Barakati
Frequent Advisor

Re: Memory Usage by User.

Actually i am trying to get total memory used by all processes owned by each user.

With glance i could see only a subset of process owned by each process.

On my HP_UX server memory is 98% used on an avg as seen by glance. I would like to know i) what user consumes how much memory.

Could you please clarify.