Perl Monk, Perl Meditation | |
PerlMonks |
Re: Proc::ProcessTable Process name,by sacked (Hermit) |
on Jun 03, 2004 at 14:53 UTC ( [id://360185]=note: print w/replies, xml ) | Need Help?? |
It's not quite clear what you are asking. Are you looking for the full command line of the process? If so, use the cmndline field of the Proc::ProcessTable::Process that you are examining.
Also, keep in mind that the fields in a Proc::ProcessTable::Process return different values depending on your operating system. From the pod: See the "README.osname" files in the distribution for more up-to-date information. If you are seeing a full path and only need the filename (basename) of the process, or if you are seeing the name of the interpreter (e.g., "perl" for a process "perl dodgy.pl"), File::Basename can help:
--sacked
In Section
Seekers of Perl Wisdom
|
|