Change the Priority of a Process
Change the Priority of a Process/Identify Resource Utilization by Process
jobs
: Displays minimal information about processes associated with the current sessionps
: By default,ps
only displays process that were run from its own terminal–A \ -e
: Displays all processes on a system-u
: Displays processes given by a specified user-H
: Groups processes and use indentation to show the hierarchy of relationships between processes-w
: Tells ps not to truncate to systemuptime
: Find uptime and display load averagebg
: Restores a job to running status, but in the backgroundfg
: UseCTRL+Z
to pause a program and, thenfg
to send the program to foregroundkill
: Can be used to stop executing processes, uses PIDnohup
: Run a command immune to hangups, with output to console or non-ttykillall
: Can be used to kill all processes of a certain namefree
: Show free memory and swap
Common kill signals:
- This signal is not blockable and causes the program to terminate abruptly; only use if you can’t terminate with 15SIGTERM 15 TERMINATION SIGNAL
: Asks the program to finish what it is doing, then exits; clean exist; the preferred way of killing processesSIGSTOP 17,19,23 STOP THE PROCESS
: When a child process exits from a parent process it sends signal 1- Signals in the man page
man-k signal