| 1 |
This is the 'ips' program which stands for 'intelligent ps'. |
| 2 |
It displays process status in a versatile and efficient manner. |
| 3 |
|
| 4 |
This has been tested under Linux kernel version 2.6.28, but should work |
| 5 |
reasonably for other kernel versions too. |
| 6 |
|
| 7 |
The collection of process data in ips is dependent on the /proc layout |
| 8 |
so it will not work on other operating systems without modification. |
| 9 |
Almost all of the system-dependent code should be in linux.c. |
| 10 |
|
| 11 |
To build ips you can probably just type 'make' with no problems. |
| 12 |
The only major configuration option is to disable the use of X11 if you |
| 13 |
don't need or want it. Modify the Makefile to do this. |
| 14 |
|
| 15 |
There is a man page called ips.man which explains the features and use |
| 16 |
of the program. |
| 17 |
|
| 18 |
There is a system-wide default initialization file called ips.init which |
| 19 |
you might want to install in /usr/local/lib. If you would rather put |
| 20 |
the initialization file elsewhere, the definition for it is in ips.h. |
| 21 |
|
| 22 |
If you trust the program, you can make it suid root so that it can display |
| 23 |
all of the columns for all users. Note that it might be a security problem |
| 24 |
for some process information to be known by everybody (especially the |
| 25 |
environment variables of a process). You must decide if that is a problem |
| 26 |
for your site. I have tried to avoid any other security problems, but of |
| 27 |
course I can't guarantee that there isn't a problem. So running ips suid |
| 28 |
root is at your own risk. The ips program will run fine without being suid |
| 29 |
root, but in this case some of the data it attempts to display will not be |
| 30 |
available for normal users. |
| 31 |
|
| 32 |
David I. Bell |
| 33 |
[email protected] |
| 34 |
8 January 2026 |