Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 17:52:36 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Can I Set Process Name?
Message-ID:  <20030708165236.GD91154@catflap.home.slightlystrange.org>
In-Reply-To: <00bf01c3456b$91e447e0$6e2a6ba5@lc.ca.gov>
References:  <20030708160029.GB91154@catflap.home.slightlystrange.org> <00bf01c3456b$91e447e0$6e2a6ba5@lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help

--0IvGJv3f9h+YhkrH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
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 / \

--0IvGJv3f9h+YhkrH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/CvbUhvzwOpChvo8RAiJzAJ9YQakNk+uPcORqzDvcg5HtSfOg8QCdHsL/
+ySQIOBYZsGoaYoNAUbuLUY=
=XGd+
-----END PGP SIGNATURE-----

--0IvGJv3f9h+YhkrH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030708165236.GD91154>