RE: [Perl-unix-users] Reading Unix's top command

2003-10-06 Thread KGalal
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

Re: [Perl-unix-users] Reading Unix's top command

2003-10-06 Thread Michael A Nachbaur
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

Re: [Perl-unix-users] Reading Unix's top command

2003-10-01 Thread $Bill Luebkert
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

RE: [Perl-unix-users] Reading Unix's top command

2003-10-01 Thread KGalal
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-

Re: [Perl-unix-users] Reading Unix's top command

2003-10-01 Thread $Bill Luebkert
[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

[Perl-unix-users] Reading Unix's top command

2003-10-01 Thread KGalal
Title: Reading Unix's top command 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