Identify user in update mode
Jay Ashworth
jra at baylink.com
Tue Aug 2 23:53:15 PDT 2011
----- Original Message -----
> ----- Original Message -----
> From: "Jean-Pierre A. Radley" <appl at jpr.com>
>
> > Dennis Malen propounded (on Mon, Aug 01, 2011 at 05:27:37PM -0400):
> > | I can use the following to identify what file the user is in but
> > | not if he
> > | is in udate or has another file opened in update while sitting in
> > | the record:
> > |
> > | ps -ef|grep dennis
> >
> > Why the pipe to grep? Doesn't
> > ps -fu dennis
> > give you the same information?
In fact, it doesn't, always. I have a user for whom I set up an infrastucture
where they have a persistant Xvnc server running for each user, and Axel
VNC terminals, and I created two status checking scripts, psu, and psg, which
do the things you might expect from reading the earlier parts of this message.
They *reliably* show different subsets of processes, though I'd have to go
look to remember why; I think it's partly to do with SUID processes.
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com 2000 Land Rover DII
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
More information about the Filepro-list
mailing list