Create, Monitor, and kill Processes Flashcards

1
Q

What does the command ps do

A

Lists the process status of each running process on the system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the command top do

A

interactive, near real-time monitoring of processes runnning on a system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the command man proc do

A

Manula page for the /proc psuedo file system directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the command man signal do

A

Manual pages for the various signal states of processes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the command uptime do

A

View how long the system has been up, how many users are logged in, and CPU load average

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the command free do

A

View used and available memory and swap space

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the command pgrep do

A

Find process info based on process name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the kill command do

A

Send a signal (usually SIGTERM) to a process based on PID

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the command pkill do

A

Send a signal(usually SIGTERM) to a process based on process name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the command killall do

A

Kills all processes based on a name provided as an argument

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the command watch do

A

Runs a command at specified intervals. Used to monitor a commands output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does the command screen do

A

A terminal window manager that allows you to run commands in an isolated session

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the command tmix do

A

A modern terminal window manager (like screen) with extra features

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the command nohup do

A

Should a terminal window close, the process will still run as long as the login session is not terminated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does the command bg do

A

Sends a job to the background while it keeps running

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What the does & command do

A

When applied to the end of a command the command is sent to the background returning the use of the shell to the user

17
Q

What does the command fg do

A

Brings a job that is in the background into the foreground

18
Q

What does the command jobs do

A

Displays a listing of jobs that are in the background