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

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.

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

Thanks Both!