Changes

Jump to: navigation, search

Tutorial8: Links / Process Management

11 bytes added, 16:45, 3 February 2020
Managing Processes
Below are some common Linux commands involving processes:
<table cellpadding="5" width="60%"><tr valign="top"><th style="border-bottom: 1px solid black;text-align:left;">Linux Command</th><th style="border-bottom: 1px solid black;text-align:left;">Purpose</th></tr><tr valign="top"><td>'''ps'''</td><td>The '''ps''' (''process status'') command displays snapshot information about processes. By default, the ps command displays information only about the current terminal<br>('''ps -l''' provides a detailed listing, '''ps -U''' username shows all<br>''Examples:''<span style="font-family;font-weight:bold">ps , ps -l, ps -ef, ps -u ps aux</span><br><br></td></tr><tr valign="top"><td>'''top'''</td><td>The '''top''' command provides a continuous update including resource usage<br>''Examples:''<span style="font-family;font-weight:bold"br>ps , ps -l, ps -ef, ps -u ps aux<br></td></tr><tr><td>'''fg'''</td><td>The '''fg''' (foreground) command moves a background job from the current environment into the foreground.<br>''Examples:''</td></tr><tr valign="top"><td>'''bg'''</td><td>the '''bg''' utility shall resume suspended jobs from the current environment.<br>''Examples:''</td></tr><tr valign="top"><td>'''jobs'''</td><td>The '''jobs''' utility shall display the status of jobs that were started in the current shell environment<br>''Examples:''</td></tr><tr valign="top"><td>'''kill'''</td><td>The command kill sends the specified signal to the specified processes or process groups. If no signal is specified, the TERM signal is sent. The default action for this signal is to terminate the process.<br>''Examples:''</td></tr></table>
=INVESTIGATION 1: LINKING FILES=
13,420
edits

Navigation menu