README
1The README file mxkill 1.1
2
3mxkill is a user friendly X/Motif graphical user interface to ps command.
4The various options to ps command, even pipe can be used to filter the ps
5output. The ps output is displayed in a scrolled list window. The vertical or
6horizontal scrollbar will be active if the output goes beyond the viewing
7area. One or more processes can be selected interactively by mouse or standard
8Unix regular expression syntax can be used to select processes as well.
9
10The various types of signal can be chosen from the menu in order to send to
11the process/es. By default, the signal is 9 (sure kill).
12
13This program is based on X Athena based xzap program by
14gerry.tomlinson@ncl.ac.uk.
15
16Compile:
17look at MXkill.ad resource file first. change ps and other commands for
18your system. then do:
19
20ad2c<MXkill.ad>Mxkill.ad.h
21
22xmkmf
23make
24
25install MXkill.ad file to /usr/lib/X11/app-defaults as MXkill if you like.
26
27NOTE:
28only thing you have to remember when you choose the ps comamnd and its
29option is that Process id of the process must be under the header field PID.
30Here are some valid ps options in Linux:
31 /bin/ps ea
32
33PID TTY STAT TIME COMMAND
34
35240 1 S 0:00 /bin/login -- root
36241 2 S 0:00 /sbin/mingetty tty2
37242 3 S 0:00 /sbin/mingetty tty3
38243 4 S 0:00 /sbin/mingetty tty4
39244 5 S 0:00 /sbin/mingetty tty5
40245 6 S 0:00 /sbin/mingetty tty6
41
42 /bin/ps auxww
43
44USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
45muquit 324 0.0 1.1 1272 732 p0 S 22:52 0:00 bash
46muquit 325 0.0 1.1 1280 748 p1 S 22:52 0:00 -bash
47muquit 326 0.0 1.1 1292 752 p2 S 22:52 0:00 -bash
48muquit 327 0.0 1.0 1252 692 p3 S 22:52 0:00 -bash
49muquit 328 0.0 1.0 1252 684 p4 S 22:52 0:00 bash
50muquit 3254 0.1 16.4 15708 10384 p2 S 10:37 0:13 netscape
51
52play with the following resources in the MXkill.ad file:
53
54MXkill*psCommand: /bin/ps
55MXkill*psdefOption: ea|sort +0 -1
56MXkill*psAllOption: eax
57MXkill*psAllbyUserOption: eaxu|sort +0 -1
58MXkill*psAllbyPidOption: eaxu|sort -n +1 -2
59
60
61If you use this program, please let me know.
62
63Enjoy.
64
65-------------**---------------
66--
67Muhammad A Muquit
68written over the Labor Day holiday, 1995
69
70
71--
72Muhammad A Muquit
73http://www.fccc.edu/users/muquit/
74Aug-30-1997 (Labor Day holiday, 1997)
75
76
77