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 -lRun
cmdat a higher priorityRunnice -5 cmd &$CMDat 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 # --forestShow system processes
ps axps -efDisplay full listing of processes
ps u # -fDisplay user processes
ps xG # -aDisplay SELinux contexts for processes
ps auxZDisplay kernel threads
ps -ef
taskset
- Send a task to a specific core
taskset -c