• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

bitmaps/H30-Aug-1997-7769

ChangeLogH A D30-Aug-1997275 1511

ImakefileH A D02-Mar-1997972 4635

MXkillH A D02-Mar-19972 KiB6562

MXkill.adH A D30-Aug-19972.7 KiB8279

MXkill.ad.hH A D30-Aug-19972.2 KiB5655

MakefileH A D30-Aug-199717.5 KiB686403

Mxkill.tmplH A D03-May-20221.7 KiB6850

READMEH A D30-Aug-19972.3 KiB7754

ad2cH A D02-Mar-1997882 4932

alncolor.cH A D02-Mar-19971.5 KiB8535

bestpix.cH A D02-Mar-19972.9 KiB14569

bitmaps.hH A D02-Mar-19972.1 KiB7442

converter.cH A D02-Mar-19974.6 KiB234162

converter.hH A D02-Mar-1997184 117

crui.cH A D30-Aug-199719.9 KiB1,038678

error.cH A D02-Mar-1997971 6321

main.cH A D30-Aug-19976.3 KiB338202

menu.hH A D02-Mar-19971.3 KiB5319

menui.cH A D02-Mar-19972.3 KiB9855

mpulldown.cH A D02-Mar-19975.2 KiB19690

mxerror.cH A D02-Mar-19971.7 KiB8740

mxkill.hH A D30-Aug-19973.3 KiB213121

ps.cH A D30-Aug-19972.3 KiB14278

regex.cH A D02-Mar-1997158.2 KiB4,9652,938

regex.hH A D02-Mar-199718.3 KiB491168

setcurs.cH A D02-Mar-19971,012 6725

setsbc.cH A D02-Mar-19972.5 KiB12657

xhead.hH A D03-May-20221.4 KiB7950

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