Skip to content

1.5 Process Management

Tomato6966 edited this page Jun 29, 2021 · 1 revision

Display your currently running processes

ps

Display all the currently running processes on the system.

ps -ef

Display process information for processname

ps -ef | grep processname

Display and manage the top processes

top

Interactive process viewer (top alternative)

htop

Kill process with process ID of pid

kill pid

Kill all processes named processname

killall processname

Start program in the background

program &

Display stopped or background jobs

bg

Brings the most recent background job to foreground

fg

Brings job n to the foreground

fg n
Clone this wiki locally