# whowatch(1) - man - phpMan

[WHOWATCH(1)](https://www.chedong.com/phpMan.php/man/WHOWATCH/1/markdown)                            General Commands Manual                           [WHOWATCH(1)](https://www.chedong.com/phpMan.php/man/WHOWATCH/1/markdown)



## NAME
       whowatch - console, interactive, process and users monitoring tool.

## DESCRIPTION
       **Whowatch**  is an console, interactive users and process monitoring tool.  It displays informa‐
       tion about the users currently logged on to the machine, in real-time.  Besides standard  in‐
       formation  (login name, tty, host, user's process), the type of the connection (ie. telnet or
       ssh) is shown.  Display of users command line can be switch to tty idle time.   Certain  user
       can be selected and his processes tree may be viewed as well as tree of all system processes.
       Tree may be displayed with additional column that  shows  owner  of  each  process.   In  the
       process  tree  mode  SIGINT,  SIGHUP, SIGTERM and SIGKILL signals can be sent to the selected
       process. Killing processes is just as simple and fun as deleting lines on the screen.

       **Whowatch** has no command line options or configuration file.  All  actions  are  performed  in
       real time by pressing following keys:

       Users list mode:

### 'up' 'down'
              cursor movement

       **'i'**    toggle between user command line and idle time

       **'c'**    full  command line on/off. Disabling full command line can save CPU time.  It can give
              you also some additional information about process executable.

### 'enter'
              view selected user's processes tree.

       **'t'**    all system processes (init tree)

       Tree mode:

### 'up' 'down'
              cursor movement

### 'enter'
              go back to users list

       **'o'**    show processes owners

       **'c'**    full command line on/off. Disabling full command line can save CPU time.  It can  give
              you also some additional information about process executable.

### 'Ctrl-I'
              send INT signal to selected process

### 'Ctrl-K'
              send KILL signal to selected process

### 'Ctrl-U'
              send HUP signal to selected process

### 'Ctrl-T'
              send TERM signal to selected process


## PLUGINS
       Whowatch  has  ability  to  load plugin during program run.  Plugin prints information inside
       details window.  Plugins gives flexibility: if some specific information about process,  user
       or system is needed then separate program could be written to obtain such information.  Since
       there are three kinds of deatils window (process, user and system) maximum three plugins  can
       be loaded.  Whowatch has very simple API to write plugins.




## FILES
       Program  reads  _/var/log/wtmp_, _/var/run/utmp_. Under Linux program also reads files from _/proc_
       directory. Without read access to these  files  **whowatch**  funcionality  will  be  limited  or
       program will not even start.


## SEE ALSO
       [**finger**(1)](https://www.chedong.com/phpMan.php/man/finger/1/markdown) [**ps**(1)](https://www.chedong.com/phpMan.php/man/ps/1/markdown), [**pstree**(1)](https://www.chedong.com/phpMan.php/man/pstree/1/markdown), [**top**(1)](https://www.chedong.com/phpMan.php/man/top/1/markdown), [**w**(1)](https://www.chedong.com/phpMan.php/man/w/1/markdown), [**lsof**(8)](https://www.chedong.com/phpMan.php/man/lsof/8/markdown), [**kill**(1)](https://www.chedong.com/phpMan.php/man/kill/1/markdown) [**killall**(1)](https://www.chedong.com/phpMan.php/man/killall/1/markdown)


## BUGS
       Because  lack  of ut_pid in utmp and wtmp structures in *BSD systems, program tries to obtain
       pid of a login shell by analyzing processes controlling terminal and processes  names.  Under
       some  conditions  it may lead to incorrect results ie. there will be incorrect processes tree
       associated with user's session.


## AUTHOR
       Michal Suszycki <<mike@wizard.ae.krakow.pl>>,
       <http://wizard.ae.krakow.pl/~mike>
       Tree functions written by Jan Bobrowski <<jb@wizard.ae.krakow.pl>>,
       <http://wizard.ae.krakow.pl/~jb>



                                             27 Feb 2000                                 [WHOWATCH(1)](https://www.chedong.com/phpMan.php/man/WHOWATCH/1/markdown)
