Re: How do I get percentage CPU usage of processes for a specified time interval?
- From: "Gary R. Hook" <noway@xxxxxxxxxxxxxx>
- Date: Fri, 16 Feb 2007 17:12:16 GMT
Adrian Davis wrote:
How do I get percentage CPU usage of processes for a specified time
interval?
I'm wish to write a script, part of which displays the top 10
processes by percentage processor usage over a 30 second interval. I
know "topas" can show this, but I need to be able to process the
information in a script. The output from "ps" doesn't seem to give the
neccessary resolution...
You need to look into using nmon, as it can produce output
that can be analyzed in that fashion (e.g. nmon Analyzer).
.
- References:
- Prev by Date: Re: LDAP on AIX - the continuing tragedy...
- Next by Date: Re: Propagating passwd (and other files) for authentication
- Previous by thread: How do I get percentage CPU usage of processes for a specified time interval?
- Next by thread: Re: How do I get percentage CPU usage of processes for a specified time interval?
- Index(es):
Relevant Pages
|