How do I get what users are doing?
Conor P. Cahill
cpcahil at virtech.uucp
Fri Nov 9 00:15:34 AEST 1990
In article <16642 at hydra.gatech.EDU> ccastdf at prism.gatech.EDU (Dave) writes:
>How do I (from C) get the information on what a user is doing. I have
>seen the output from a w (who is online, and what they are doing), but
>I can't figure out where it is coming from.
do a popen("ps"...) or a popen("w"...)
--
Conor P. Cahill (703)430-9247 Virtual Technologies, Inc.,
uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160
Sterling, VA 22170
More information about the Comp.unix.questions
mailing list