We don't bite newbies here... much | |
PerlMonks |
Re: Extracting data from a messy file (slow performance)by kyle (Abbot) |
on Aug 06, 2008 at 20:30 UTC ( [id://702729]=note: print w/replies, xml ) | Need Help?? |
Here are some of the things I think you'll want to know as you write a Perl script to do what your shell script does:
I'll note also that vmstat has a -n option which causes it to output the header only once. You could send that through tail before it ever gets to the log, and your processor would not have to deal with those lines at all.
In Section
Seekers of Perl Wisdom
|
|