Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Linux Process Start Timeby pileofrogs (Priest) |
on Jul 27, 2009 at 17:43 UTC ( [id://783616]=note: print w/replies, xml ) | Need Help?? |
I've had the output of ps change on me in a distro version update. But, actually, you're probably right, I wasn't using a POSIX or BSD output format. That would stabilize it. And yes, /proc isn't portable. It might be a little bit portable. I know it's optional on OpenBSD, for instance. Looking for the same process name twice won't help. I want to know the age. I think I'll add an example to the OP. Good point about POSIX or BSD ps output. --Pileofrogs
In Section
Seekers of Perl Wisdom
|
|