Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2003 00:26:38 +0930
From:      "Rob" <listone@deathbeforedecaf.net>
To:        "Drew Tomlinson" <drew@mykitchentable.net>, "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Can I Set Process Name?
Message-ID:  <000a01c34561$228ff5b0$a4b826cb@goo>
References:  <003001c3455e$b6c322f0$6e2a6ba5@lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
setproctitle(3) - but I don't know how you would call it from perl.

----- Original Message -----
From: "Drew Tomlinson" <drew@mykitchentable.net>
To: "FreeBSD Questions" <freebsd-questions@freebsd.org>
Sent: Wednesday, July 09, 2003 12:09 AM
Subject: Can I Set Process Name?


> Is there a way to either change the name of a running process or start
> the process with a name of my choosing?  On my system, I am running
> webmin and spamd.  Both processes show in ps -acux output as "perl".
>
> blacklamb# ps -acux | grep perl
> root         22476  0.0  2.9  6760 5576  ??  Ss   Sat11AM   0:06.30
perl
> root         33725  0.0 11.0 21604 21196  ??  Ss    9:07PM   0:03.11
> perl
>
> Is there a way to make the webmin process name "webmin" and the spamd
> process "spamd"?  I'm willing to read but have no idea where to start
so
> please nudge me in the right direction.
>
> Thanks,
>
> Drew
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c34561$228ff5b0$a4b826cb>