On 8/31/2010 9:26 PM, Ron Johnson wrote:
Hi,
I know that you can see a pid and it's complete command line, but is
there the concept of "name"?
For example, in OpenVMS, you can do:
$ SET PROCESS/NAME=SOMEUNIQUENAME
Then in SHOW SYSTEM (similar to "ps aux") you'll see a line with a pid
and the text SOMEUNIQUENAME. Also, no other process can have the same
name, thus performing a similar function as lock files.
Or, since fork() is so integral to Unix and processes keep flitting in
an out of existence, is "name" not a relevant concept?
Thanks
setproctitle(3) which is from BSD will do that if I remember right. If
I also recall correctly it was supposed to be implemented inside of
Debian as libsetproctitle (you can google it and find the Wishlist bug)
but never actually got implemented, read:
http://www.freebsd.org/cgi/man.cgi?query=setproctitle&sektion=3
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c7dbed2.1010...@envygeeks.com