1WHOWATCH(1) General Commands Manual WHOWATCH(1)
2
3
4
6 whowatch - watch logged in users and processes in real time
7
9 Whowatch is an interactive ncurses who-like utility that displays
10 information about the users currently logged on to the machine, in
11 real-time. Besides standard informations (login name, tty, host,
12 user's process), the type of the connection (ie. telnet or ssh) is
13 shown. Display of users command line can be switch to tty idle time.
14 Certain user can be selected and his processes tree may be viewed as
15 well as tree of all system processes. Tree may be displayed with addi‐
16 tional column that shows owner of each process. In the process tree
17 mode SIGINT and SIGKILL signals can be sent to the selected process.
18 Killing processes is just as simple and fun as deleting lines on the
19 screen.
20
21 Whowatch has no command line options or configuration file. All
22 actions are performed in real time by pressing following keys:
23
24 Users list mode:
25
26 'up' 'down'
27 cursor movement
28
29 'i' toggle between user command line and idle time
30
31 'c' full command line on/off. Disabling full command line can save
32 CPU time. It can give you also some additional information
33 about process executable.
34
35 'enter'
36 view selected user's processes tree.
37
38 't' all system processes (init tree)
39
40 Tree mode:
41
42 'up' 'down'
43 cursor movement
44
45 'enter'
46 go back to users list
47
48 'o' show processes owners
49
50 'c' full command line on/off. Disabling full command line can save
51 CPU time. It can give you also some additional information
52 about process executable.
53
54 'Ctrl-I'
55 send INT signal to selected process
56
57 'Ctrl-K'
58 send KILL signal to selected process
59
60
62 Program reads /var/log/wtmp, /var/run/utmp. Under Linux program also
63 reads files from /proc directory. Without read access to these files
64 whowatch funcionality will be limited or program will not even start.
65
66
68 finger(1) ps(1), pstree(1), top(1), w(1),
69
70
72 Because lack of ut_pid in utmp and wtmp structures in *BSD systems,
73 program tries to obtain pid of a login shell by analizing processes
74 controlling terminal and processes names. Under some conditions it may
75 lead to incorrect results ie. there will be incorrect processes tree
76 associated with user's session.
77
78
80 Michal Suszycki <mike@wizard.ae.krakow.pl>,
81 http://wizard.ae.krakow.pl/~mike
82 Tree functions written by Jan Bobrowski <jb@wizard.ae.krakow.pl>,
83 http://wizard.ae.krakow.pl/~jb
84
85
86
87 27 Feb 2000 WHOWATCH(1)