good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: ppkby graff (Chancellor) |
on Apr 18, 2005 at 06:24 UTC ( [id://448745]=note: print w/replies, xml ) | Need Help?? |
I have couple things to add to what merlyn said, regarding this comment in your description:
this script is for use exclusively under Unix, or Unix like, operating systems (if the system command ps -eaf could be rewritten in pure Perl, then the OS restriction could be lifted) Unfortunately, one of the issues that differ significantly across versions of unix and unix-like operating systems is the behavior of "ps". In particular, the options you use in this script will work on any "SysV" style of unix (e.g. Solaris), and might work on linux (if you're using linux, you know better than me), but it won't work on any BSD style (e.g. (free|open|net)bsd, or the bsd-based macosx), because the latter uses a completely different set of option flags. It turns out there are a couple ways around this:
In Section
Code Catacombs
|
|