1753775 Members
7569 Online
108799 Solutions
New Discussion юеВ

Re: User resources

 
SOLVED
Go to solution
Delcho Tuhchiev
Frequent Advisor

User resources

Hi,

Is there an easy way to see how mach resources are used from specific user (CPU,Memory and so on...)?
5 REPLIES 5
R.K. #
Honored Contributor

Re: User resources

# top
Don't fix what ain't broke
Steven E. Protter
Exalted Contributor
Solution

Re: User resources

Shalom,

ps -ef | grep username

export UNIX95=1
ps -ef -o sz,vsz | grep username

That will show memory use.

Also
glance
gpm
# One needs to pay for glance or gpm

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Delcho Tuhchiev
Frequent Advisor

Re: User resources

I have glance but something there is not OK with filters....
when I filter processes by username (to show me only processess for the specific user) I've just see only a couple of processess not all user processess......
James R. Ferguson
Acclaimed Contributor

Re: User resources

Hi:

A word of WARNING!

Do NOT export 'UNIX95' unless you know what you are doing! Setting this variable will subtlety alter the behavior of a number of commands.

Set the variable ONLY for the duration of the command line like this:

# UNIX95= ps -ef -o pid,ppid,user,vsz,comm

There is a whitespace after the "=" character before the 'ps' command. Nothing else is necessary.

Regards!

...JRF...
Delcho Tuhchiev
Frequent Advisor

Re: User resources

solved