1753670 Members
5181 Online
108799 Solutions
New Discussion юеВ

Re: Using the resources

 
J.L.
Occasional Contributor

Using the resources

Hello, everyone:

HP-UX I have some problems with the management.

I want to see each user, using the resources, it is possible?

A result of using "TOP" or "PS-ef" can not see

Thanks
6 REPLIES 6
Johnson Punniyalingam
Honored Contributor

Re: Using the resources

>>>HP-UX I have some problems with the management.

I want to see each user, using the resources, it is possible?

A result of using "TOP" or "PS-ef" can not see<<<

Need more information about your problem,

can post the actual problem ??? so that we can advice accordingly, without seeing errors it will be clueless
Problems are common to all, but attitude makes the difference
Kapil Jha
Honored Contributor

Re: Using the resources

i suppose what u want is which user is using which all resources.....
You can get some information from glance.

What exactly u looking at??

BR,
Kapil+
I am in this small bowl, I wane see the real world......
amithp
Frequent Advisor

Re: Using the resources

It is possible using "ps" also but then you need to sort out the output with the users name.
Try using UNIX95 standard on ps
viz
UNIX95=1, ps -Af -o pid,user,sz,pcpu

where you can sort the output with the users name

or

#UNIX95=1, ps -Af -o pid,user,sz,pcpu|grep

you need to add pcpu column output to see percentage cpu util and sz column to see memory page(4k) util in.

see man page of ps
J.L.
Occasional Contributor

Re: Using the resources

Sorry
Is my question. Description incomplete.
I want the users to run a job, I want to know the user to use those resources, such as cpu usage, memory usage ... other.
Johnson Punniyalingam
Honored Contributor

Re: Using the resources

>>I want the users to run a job, I want to know the user to use those resources, such as cpu usage, memory usage ... other.<<<

As from above post, I believe you want to know /Check how much cpu ,memory, usage which has been consumed by "user" when he run a job

if my "psyhic" correct you use,

# Glance

or you redirect the below command outputs "during time frame of user job runs"

#UNIX95=1, ps -Af -o pid,user,sz,pcpu|grep > /tmp/user_name_stat.txt
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Using the resources

Country / Region: taiwan
Personal quote:
Certification:
ITRC member since: May 04, 2009
Last contribution date: February 11, 2010
I have assigned points to 0 of 5 responses to my questions.


if you are statisfies with answers. assign points

How to assign points check the below link

http://forums13.itrc.hp.com/service/forums/helptips.do?admit=109447627+1256027208667+28353475#33
Problems are common to all, but attitude makes the difference