Many times on the Unix system, you may find that a process (program) has been left running in the background on a machine either by you or another user. If the process was initiated by you, you have the ability to remove it. Otherwise, you need to contact someone who has the power to remove any user's processes (System Administrator, Instructor, Bonnie Banner, etc.).
1) The command psg can tell you if certain commands are still running,
who owns the process, and the ID number used to eliminate it.
To use the psg command, you need to include a text
string that would appear in the program.
Example:
major{bbanner}23:
psg netscape
UID
PID PPID C
STIME TTY
TIME COMD
ttilton 13440
12511 5 19:43:38
pts/7 5:18
/usr/local/netscape
2) If I am user ttilton, I can eliminate the
process by issuing the following command (using the PID number above).
Example:
major{ttilton}24: zap 13440
13440
killed with SIGTERM
This
process is now removed.
RS/GIS
TL/ Utilizing the Lab Introduction