Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 07:39:15 -0700
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Can I Set Process Name?
Message-ID:  <003001c3455e$b6c322f0$6e2a6ba5@lc.ca.gov>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003001c3455e$b6c322f0$6e2a6ba5>