suaveant has asked for the wisdom of the Perl Monks concerning the following question:

Is there a reliable way, even just under linux, to get a process's true name and location. Something unspoofable? So if it is /usr/bin/finger or whatever you can be sure that that is what is being called? (this isn't terribly perlish, but I want to use it in perl if I can, C if I have to) - Ant

Replies are listed 'Best First'.
Re: Name and location of a process
by Masem (Monsignor) on Mar 28, 2001 at 20:39 UTC
      Yes, that gives the name, yet not the location. I want to use this for something that allows me to register a program based on its location... of course, this may be a problem with perl scripts since the perl script is a command line option, not an actual program directly... - Ant