Title: RE: [Perl-unix-users] Reading Unix's top command
As i was trying to use your -b option, i realized there was a:
-f filename
option on Unix, which printed out the output of top to filename, in a readable format.
Thanks you all for your help
kareem
-Original Me
On Wednesday 01 October 2003 07:06 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> In order to get an email advising me that a process is using too much %cpu,
> i wanted to be able to redirect the output of the Unix top command into a
> text file, then use regular expressions to get the data i need.
> Howev
m: $Bill Luebkert [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 2 October 2003 12:15 PM
> To: Kareem Galal
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Perl-unix-users] Reading Unix's top command
>
>
> [EMAIL PROTECTED] wrote:
>> Hi,
>>
>> In order to get a
Title: RE: [Perl-unix-users] Reading Unix's top command
Thanks for the hint Bill, that has put the output file into some sort of readable format now.
Do you know what the following corresponds to, so i can get rid of it as well:
^[[B
thanks
Kareem
-Original Message-
[EMAIL PROTECTED] wrote:
> Hi,
>
> In order to get an email advising me that a process is using too much
> %cpu, i wanted to be able to redirect the output of the Unix top command
> into a text file, then use regular expressions to get the data i need.
>
> However, redirecting top's output into a