View Single Post

   
  #4 (permalink)  
Old 01-05-2008, 07:40 AM
AlexW
 
Posts: n/a
Default Re: Monitoring top 10 processes, by %CPU ...

AlexW wrote:
> aixdude@yahoo.com wrote:
>
>> AlexW wrote:
>>
>>> I would like to take the top 10 processes by % CPU usage over contiguous
>>> 60 second intervals of and record it to a file in a format that is
>>> amenable to post processing.
>>>
>>> The command "topas -Pi 60" has the information I want but its formatted
>>> with terminal escape sequences which make it difficult to process later.
>>>
>>> Taking periodic samples with "ps aux" and sorting on %CPU is almost
>>> there, but its on a sample basis which is not over the whole 60 second
>>> period.
>>>
>>> Does anyone have any solutions or better ideas?
>>>
>>> TIA & Regards,
>>>
>>> Alex.

>>
>>
>>
>> NMON and NMON Analyzer
>> Free tool from IBM (and a good one IMHO)
>>
>> http://www-128.ibm.com/developerwork...s/analyze_aix/
>>

>
> Thanks...
>
> Had seen NMON, but looks like another curses type terminal based output
> ... does it provide file based output as well?
>
> Regards,
>
> Alex


aha ... I see the statment "The nmon tool can also capture the same data
to a text file for later analysis and graphing for reports. The output
is in a spreadsheet format (.csv)." on the page you ref'd

Ta,

Alex.
Reply With Quote