Getting the name of the process via the process ID
From: David (qazwart_at_gmail.com)
Date: 12/14/04
- Previous message: Sherm Pendley: "Re: mod_perl version"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 14 Dec 2004 06:14:24 -0800
Is there a way that is OS independent (that is, works the same way on
Windows and all the various flavors of Unix) to get the name of a
process from the process ID?
I know about the Proc-ProcessTable module, but that apparently doesn't
work on Windows. And yes, I also know about using the system command to
run "ps" (or to use open(PS, "ps|"), and that you can get a Windows
"ps" command, but I'd rather get something with a more standard
interface.
-- David
- Previous message: Sherm Pendley: "Re: mod_perl version"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|