Re: How do I get percentage CPU usage of processes for a specified time interval?



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).
.



Relevant Pages

  • Re: Script per Code ausführen
    ... mit dem Shell befehl startet leider nur der Analyzer mit dem Script, ... Du musst das Script per PassThrough uebergeben, ... Ansonsten gibt's auch noch den Shell ...
    (microsoft.public.de.access.clientserver)
  • Re: Deny Create Database
    ... So, if you are running a script from within QA, and you want to be sure you ... Thanks, but trying to mimic a process all in one place, and the analyzer may ... I know I would have to connect to the master database ... is there an 'automated' way to switch to that database in the Query ...
    (microsoft.public.sqlserver.security)
  • Instant Color Coding
    ... May I know how to develop application as like SQL Query ... Analyzer that color code the text as user enter the script without any delay. ...
    (microsoft.public.win32.programmer.ui)
  • Re: IDENTITY INSERT Permission
    ... >analyzer. ... What I need is how to grand to another role defined in the script ... >that also grants permissions to select, insert, delete etc. ...
    (microsoft.public.sqlserver.security)
  • DBCC CHECKDB Problem
    ... I run the DBCC for a particular database in Query ... Analyzer, ... I take the same SQL ... script and place it in a job to be scheduled in Enterprise ...
    (microsoft.public.sqlserver.clients)