Can I Set Process Name?

Daniel Bye dan at slightlystrange.org
Tue Jul 8 09:52:39 PDT 2003


On Tue, Jul 08, 2003 at 09:11:20AM -0700, Drew Tomlinson wrote:
> Thanks for the tutorial.  I'm going to drop this as it's not that
> important.  I can always figure out which one is webmin as it is
> listening on port 10000 and I can see it in the sockstat output.  I just
> thought if I could change the name listed in ps, then I wouldn't have to
> take the extra step to identify it.

Know what you mean ;-)

Try using the `w' flag to ps:

 ps axfrww | grep webmin

That should do it.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030708/7c3691ef/attachment.bin


More information about the freebsd-questions mailing list