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

(hopefully) simple perl question...



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.

Thanks!
Jonathan

-- 
jjlupa@jamdata.net
GPG public key available from http://www.jamdata.net/~jjlupa/gpg.asc

Attachment: pgpZZUQh7rUhK.pgp
Description: PGP signature


Reply to: