Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 10:18:01 -0700
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        <dan@slightlystrange.org>, "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Can I Set Process Name?
Message-ID:  <00f701c34574$e3147f00$6e2a6ba5@lc.ca.gov>
References:  <20030708160029.GB91154@catflap.home.slightlystrange.org><00bf01c3456b$91e447e0$6e2a6ba5@lc.ca.gov> <20030708165236.GD91154@catflap.home.slightlystrange.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Daniel Bye" <dan@slightlystrange.org>
To: "FreeBSD Questions" <freebsd-questions@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




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