Open main menu

CDOT Wiki β

Changes

Tutorial8: Links / Process Management

6 bytes added, 13:42, 25 February 2021
INVESTIGATION 2: MANAGING PROCESSES
# Issue the following Linux command: <span style="color:blue;font-family:courier;font-weight:bold">ps</span><br><br>
#Note in the '''ps''' command output the PID of the process called '''bash'''.<br><br>You will be using that PID when issuing the <u>next</u> Linux command.<br><br>
# Issue the following Linux command (using the bash process' PID number instead of "PID"):<br><span style="color:blue;font-family:courier;font-weight:bold">kill PID</span><br><br>What did you notice? '''It did not work ''' since you need to send a STRONGER signal (eg. '''SIGKILL''', not ''SIGTERM'').<br><br>
# Issue the following Linux command (using the bash process' PID number instead of "PID"):<br><span style="color:blue;font-family:courier;font-weight:bold">kill -9 PID</span><br><br>What did you notice? You have been logged off your Matrix session!<br><br>
13,420
edits