Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resource utilised by a process

Status
Not open for further replies.

KPKIND

Technical User
Sep 8, 2003
130
IN
Hi *,

I have a few boxes that run AIX 4.3 and AIX 5L. I want to determine the resource utilization by a process in terms of cpu and memory. Is there any way to determine this without using any freeware tools or something like nmon.
I am trying to arrive at this using commands like svmon etc..

It would be great if someone of you can guide me in arriving at the resource utilisation figure without using any such tools.

In a nut shell,I want to arrive at the resource utilization figures using the default performance related commands

TIA
Kumar
 
ps aux|grep PID - look at columns 3 and 5 for a rough idea of cpu utilization and memory. Note that the aux does not have a preceding - sign.
 
ps auxw | sort –r +3 |head –10
Shows top 10 memory usage by process
ps auxw | sort –r +2 |head –10
Shows top 10 CPU usage by process


Long live king Moshiach !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top