Can I Set Process Name?

Drew Tomlinson drew at mykitchentable.net
Tue Jul 8 10:18:03 PDT 2003


----- Original Message ----- 
From: "Daniel Bye" <dan at slightlystrange.org>
To: "FreeBSD Questions" <freebsd-questions at freebsd.org>
Sent: Tuesday, July 08, 2003 9:52 AM

> 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.

Yes, that works!  Thanks.  In reading the ps man page to learn what
those options are, I see there's LOTS of info to get from the ps
command.

Drew




More information about the freebsd-questions mailing list