17. Processes¶
&
- Spawning
17.1. PID¶
PID files
pidof
/var/spool/pid
17.2. Problems¶
Deadlock
Starvation
Race Condition
17.3. Killing¶
kill
kill -9
killall
17.4. Keyboard Shortcuts¶
ctrl+c
ctrl+d
^% - escape sequence
17.5. Priorities¶
nice
17.6. Commands¶
Command |
Type |
Description |
---|---|---|
|
interactive process viewer |
|
|
||
|
||
|
send a signal to a process |
|
|
send signal to a process |
|
|
kill processes by name |
|
|
||
|
profile memory usage of a program |
|
|
run a program with modified scheduling priority |
|
|
change process priority |
|
|
run a command immune to hangups, with output to a non-tty |
|
|
print the number of processing units available |
|
|
find the process ID of a running program. |
|
|
look up, signal, or wait for processes based on name and other attributes |
|
|
look up, signal, or wait for processes based on name and other attributes |
|
|
(3pm) |
Kill all instances of a process by pattern matching the command-line |
|
report memory map of a process |
|
|
||
|
report a snapshot of the current processes. |
|
|
report current logs path of a process |
|
|
display a tree of processes |
|
|
alter priority of running processes |
|
|
screen manager with VT100/ANSI terminal emulation |
|
|
send a signal or report process status |
|
|
run programs and summarize system resource usage |
|
|
get time in seconds |
|
|
overview of time and timers |
|
|
run a command with a time limit |
|
|
get process times |
|
|
display Linux processes |
|
|
wait for process to change state |
|
|
execute a program periodically, showing output fullscreen |
|
|
(3am) |
basic process management |
|
move process to foreground |
|
|
move process to background |
|
|
allocate and free dynamic memory |