in reply to Re: Finding out Processor Usage
in thread Finding out Processor Usage

I agree, one would think there would be something on CPAN, but I must have looked for about 2 hours today and found nothing (except GTop).

My version of top does not seem to support those options. By any chance do you know what they stand for, maybe if i knew that i could discern the equivalents on my system (Mac OS 10.3.3). Thanks.

-stvn

Replies are listed 'Best First'.
Re: Re: Re: Finding out Processor Usage
by sgifford (Prior) on Apr 12, 2004 at 03:02 UTC
    From my manpage:
    COMMAND-LINE OPTIONS ... b Batch mode. Useful for sending output from top to other programs or to a file. In this mode, top will not accept command line input. It runs until it pro­ duces the number of iterations requested with the n option or until killed. Output is plain text suitable for display on a dumb terminal. ... n Number of iterations. Update the display this number of times and then exit. ... p Monitor only processes with given process id. This flag can be given up to twenty times. This option is neither available interactively nor can it be put into the configuration file.