Subject: can't see users with who
To: None <port-mac68k@NetBSD.ORG>
From: Mr BOFH <>
List: port-mac68k
Date: 11/01/1996 11:08:35
when i run x, neither who nor w return accurate reports of who is logged

so to overcome this, i wrote a simple shell script using the ps command.
here it is:

# 'whom' by mr BOFH!
if [ $# -gt 0 ]
	ps -ux | grep $1 | more
	ps -ux | more
exit 0

the syntax is 

whom - to list everyone
whom uid - to list only stuff being run by user uid.

next i'll make one to kill all run by a certain uid or kill all processes
with a certain filename. :-)

John Ostrowick
Computer Science Department, University of the Witwatersrand
1 Jan Smuts Ave, Johannesburg, South Africa. 1st Floor, Senate House 1012
Phone: +27 (011) 716-3783 or or
My web page is on my server's:
My ftp site: partition/
My listserv: (any message with a body)