Thanks! And it does so by calling ps via shell. At least that is portable.
I wonder if there is a standardized /proc layout or maybe a Perl module for fetching process properties...
UPDATE I've found Proc::ProcessTable, but it does a full table scan, not just one process.
In reply to Re^2: Detecting stale pid file under *nix
by Dallaylaen
in thread Detecting stale pid file under *nix
by Dallaylaen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |