103.5 Create Monitor Kill Processes Flashcards
create monitor kill
process identification unique number on the system that can be used to refer to a running process
PID
Streams - Pipes - Redirects
displays process that were started and are running as the current or indicated user
ps
Streams - Pipes - Redirects
show a tree view (hierarchical ASCII or ncurses display) of running processes
pstree
Streams - Pipes - Redirects
provides info about system memory
total
in use
shared
buffers
cached
free
Streams - Pipes - Redirects
displays amount of time the system has been running since last boot/reboot and also provides info on how many users are currently on the system - and average load on the system in minutes values
1
5
15
uptime
Streams - Pipes - Redirects
sent to a process that it then reacts to depending on type of signal
signals
Streams - Pipes - Redirects
sends a nice kill command to the PID and allows the process to cleanly stop
terminate
release memory
close open files
kill
Streams - Pipes - Redirects
kills all instances of the named process
killall
Streams - Pipes - Redirects
process kills, kills processes based on
name
ID
user
session
terminal
pkill
Streams - Pipes - Redirects
allows for testing debugging of the pkill comand and displays process ID that will be affected (takes ALL pkill options to be able to determine what PID will be affected)
pgrep
Streams - Pipes - Redirects
will display status of jobs that have been paused
jobs
Streams - Pipes - Redirects
sends indicated job to the background and commonly used after the above jobs command to place a paused job into the background so it becomes active again
bg
Streams - Pipes - Redirects
bring indicated job to the foreground for bringing previous bg process to the foreground for use
fg
Streams - Pipes - Redirects
places a program into the background when run after a command
&
Streams - Pipes - Redirects
will run and place the vim editor in the background
vim &