Date: Tue, 14 Aug 2001 17:49:08 -0400 From: parv <parv_@yahoo.com> To: f-q <freebsd-questions@freebsd.org> Subject: Re: ps -l: now it's there, now it's not. Message-ID: <20010814174908.A50818@moo.holy.cow> In-Reply-To: <20010814164507.A46533@moo.holy.cow>; from parv_@yahoo.com on Tue, Aug 14, 2001 at 04:45:07PM -0400 References: <20010814164507.A46533@moo.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
this was, on the fateful occasion around Aug 14 16:45 -0400, sent by parv > > hi, > > i have sshd running all the time binded to localhost & sometimes ssh > to forward port. a few days ago, i used to get output, as a regular > user, for... > > # ps -lax | egrep TIME|ssh' | grep -v grep > UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND > 0 227 1 0 2 0 2200 1152 select Is ?? 0:00.02 /usr/sbin/sshd > > ...now i get only the header. however i do get the sshd in the output > if i run the above command as root, or as a regular user, use -u > option w/ or w/o -l option. > > ps(1) didn't help me to understand the behaviour. > > what am i missing? > w/ some experimentation w/ -O option, "wchan" keyword present in the -l option seemed to make sshd not show up for regular user. this option, used w/ -a -x, seems to fill the gaps of -j, -l, and -u ... -O user,ppid,nice,%cpu,%mem,vsz,rss anyway, can anybody tell me what's special about "wchan" and its interaction w/ regular user's usage of ps? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010814174908.A50818>