Every command being run has a Process IDentification (PID) number associated with it. To stop a command on the workstation, you must find the PID for the command by checking the command status with the question mark (?) command and then using the KILL command. In this exercise, you will enter a command and then stop it.
UID PID PPID C STIME TTY TIME CMD user 593 362 0 08:59:33 ? 0:00 /usr/dt/bin/dtexec -open 0 -ttprocid > user 564 563 0 08:59:26 ? 0:01 xterm -title zeppo : Xterm -e ksh -c > user 7870 7869 0 14:28:37 pts/13 0:02 mcimage -imageColors 128 -autoResize > user 565 564 0 08:59:26 pts/12 0:00 ksh -c echo Trying to establish conne> user 568 565 0 08:59:27 pts/12 0:00 rlogin zeppo user 574 569 0 08:59:28 pts/13 0:01 -csh user 7869 7863 1 14:28:36 pts/13 0:01 mctext -iw -c !@exec mcimage -imageCo> user 601 598 0 08:59:35 pts/14 0:00 rlogin zeppo -l mcidas user 7863 1 0 14:28:20 pts/13 0:01 mcenv -k 7849 -f 16 -e 5m -f 4@480x64> user 673 374 1 09:01:59 pts/3 1:32 netscape -install user 7921 1 1 14:50:36 pts/13 0:00 ZLM
WARNING: Be sure that you get the correct PID number. Accidently stopping the wrong process will produce unpredictable results.