Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2007 19:27:51 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: ps oddity
Message-ID:  <20070201192751.39e5a32d@localhost>
In-Reply-To: <340a29540702011007mcdb45bcya1db8732d78ecd34@mail.gmail.com>
References:  <340a29540702011007mcdb45bcya1db8732d78ecd34@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_12.Sry8CcR=SMrFAsFFRovL
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

"Andrew Falanga" <af300wsm@gmail.com> wrote:

> A couple of months ago I wrote a daemon process that opens up connections=
 on
> TCP and listens for incoming data (that ultimately ends up in a database).
> Now, when I was writing it, I was debugging and what not under my own user
> id.  However, the program now runs as root because it's started
> automatically when the system comes up at boot time.

That alone doesn't sound like a particular good reason to me.

> Now, here's the strange part.  When running under my user id, even in dae=
mon
> mode, ps -aux | grep <user> would show me the daemon process.  However, n=
ow
> that it's running as root, it doesn't.

Does ps -aux really no longer list the process,
or does it get lost after the grep?

Fabian

--Sig_12.Sry8CcR=SMrFAsFFRovL
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iD8DBQFFwjEnBYqIVf93VJ0RAn3aAJ4huji3E/NpsIk+iJ4Sn4xyKPCHlgCgjyrc
lw8EqfysuBDKtUzMMC8KhyU=
=5Dib
-----END PGP SIGNATURE-----

--Sig_12.Sry8CcR=SMrFAsFFRovL--



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