Changes

Jump to: navigation, search

Tutorial8: Links / Process Management

6 bytes removed, 12:53, 25 February 2021
INVESTIGATION 2: MANAGING PROCESSES
=INVESTIGATION 2: MANAGING PROCESSES =
In this section, you will learn how to '''manage processes ''' on a Unix / Linux server.
'''Perform the Following Steps:'''
# Make certain that you are logged into your Matrix account.<br><br># Issue the following Linux command: <span style="color:blue;font-family:courier;font-weight:bold">sleep 700</span><br><br>'''NOTE:''' The '''sleep''' command waits for a specified number of seconds before returning to the shell prompt. It is useful in order to force a pause in a sequence of commands.<br><br># Issue the following Linux command: <span style="color:blue;font-family:courier;font-weight:bold">sleep 700</span><br><br>
# Notice that this process will run for '''700 seconds''', and is forcing the user to wait until this process finishes.<br>A process that is running in the terminal is referred to as a '''foreground process'''.<br><br>The Unix/Linux system is designed to allow users to send '''preemptive signals''' to manage those processes.<br><br>
# Press the key combination: <span style="color:blue;font-family:courier;font-weight:bold">&lt;ctrl&gt;&lt;c&gt;</span><br><br>You should notice that the process that was running in the foreground has been '''interrupted''' (i.e. terminated). '''NOTE:''' The '''ctrl-c''' key combination sends '''SIGINT''' ('''Signal Interrupt''') to terminate a process that is running.<br><br>
13,420
edits

Navigation menu