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

2003-10-01 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > 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 That's just a terminal sequence to position the cursor. Do a search for ANSI t

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- From: $Bi

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