Process management
Commands
chrt
- Lower the priority of tasks relative to others
chrt -o
nice
-
Priorities range from 0-19 in
csh
(10 is default): lower values mean a higher priority.View priorities of jobs
ps -l
Run
cmd
at a higher priorityRunnice -5 cmd &
$CMD
at a nice value of (positive) 10nice -10 $CMD nice -n 10 nice $CMD
ps
-
Display processes in a tree-like display illustrating parent-child relationships
ps -f # --forest
Show system processes
ps ax
ps -ef
Display full listing of processes
ps u # -f
Display user processes
ps xG # -a
Display SELinux contexts for processes
ps auxZ
Display kernel threads
ps -ef
taskset
- Send a task to a specific core
taskset -c