[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (hopefully) simple perl question...



Jonathan Lupa wrote:
> 
> Is there a built in command, or shell command to retrieve the process
> name from a pid?
> 
> The best I could come up with is slurping the stuff from /proc/cmdline
> or something like ps|cut, but it seems to me there is probably a
> better way I am ignorant of.
> 
I wonder if the Proc::ProcessTable module, available at CPAN, wouldn't
do this for you?


Reply to: