The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
List Process with their Status. varungupta UNIX for Advanced & Expert Users 2 03-21-2008 09:27 PM
list windows process ncatdesigner UNIX for Advanced & Expert Users 3 03-06-2008 08:02 PM
display a process args list ermur Shell Programming and Scripting 3 07-17-2007 09:46 PM
OS functions for process list jalburger SUN Solaris 1 04-09-2007 06:49 PM
List of Thread IDs of a process hmurali High Level Programming 0 06-04-2002 01:35 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-30-2008
victorcheung victorcheung is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 32
How to list the resources used for each process

Hi Expert,

Can anyone tell what command can list the resources used for each process in AIX, including the following columns:

Process ID, Program Name, Resources used(CPU,RAM,SWAP),Start Time

Thanks!!
Victor Cheung
  #2 (permalink)  
Old 04-30-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
There isn't a single command that can do that, consider piping few applications that will report that, for example "topas -P -o unavailmem" - this will report the process ID, the process name, the CPU time, and the size of unavailable memory.
  #3 (permalink)  
Old 04-30-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,633
Have a look at the man page of "ps" and you will find most of the information you are seeking, especially when examining the option "-o".

For instance: display memory used, ProcessID and commandline:

"ps -Alo vsz,pid,args"

I hope this helps.

bakunin
  #4 (permalink)  
Old 05-06-2008
victorcheung victorcheung is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 32
Thanks Both!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0