Can I Set Process Name?
Rob
listone at deathbeforedecaf.net
Tue Jul 8 07:56:44 PDT 2003
setproctitle(3) - but I don't know how you would call it from perl.
----- Original Message -----
From: "Drew Tomlinson" <drew at mykitchentable.net>
To: "FreeBSD Questions" <freebsd-questions at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list