bkreynolds48
asked on
nmon cpu top usage in a script
I have been up the last three nights being paged about high cpu usage on AIX 7.1
I can run nmon the press c then press u and nmon displays the top cpu processes/programs
is there a way to run that in a script and capture the output?
any help would be appreciated
I have tried several options to put the info in a file but cannot get the output desired
the summary of top cpu when running the command includes
PID %CPU ResSize Char Command - don't really need the Char column
I can run nmon the press c then press u and nmon displays the top cpu processes/programs
is there a way to run that in a script and capture the output?
any help would be appreciated
I have tried several options to put the info in a file but cannot get the output desired
the summary of top cpu when running the command includes
PID %CPU ResSize Char Command - don't really need the Char column
ASKER
I am familiar with topas but that was not my question
I want to use nmon to capture top cpu activity processes via a script
I want to use nmon to capture top cpu activity processes via a script
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you are not familiar with topas, use the man pages for an overview.
The output normally goes in /etc/perf/daily, with the output in files ending in .topas.
You can't view these files directly, but use the man pages on topasout to see how to view the result.