Create, monitor and kill processes Flashcards

1
Q

What command will display information about the kernel?

A

uname

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

What command shows the processes status?

A

ps

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

What command shows a dynamic update of processes status?

A

top

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

What command will show minimal processes associated with the current session?

A

jobs

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

What command will halt the foreground process and return focus to the CLI?

A

Ctrl+z

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

What command will return focus from a CLI back to a running process?

A

fg (foreground)

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

What does an & at the end of a running job mean?

A

Running in the background

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

How would you launch a program to run in the background?

A

add an & at the end

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

What command will run a launched program in the background?

A

bg

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

What command will end a process?

A

kill

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

What kill signal level terminate interactive programs and forces them to restart?

A

1 SIGHUP

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

What kill signal level causes a process to end without performing routine shutdown tasks?

A

9 SIGKILL

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

What kill signal level causes a process to end performing routine shutdown tasks?

A

15 SIGTERM

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

What command shows how long the computer has been running?

A

uptime

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

What nohup mean?

A

No hang up - keep the process running when the terminal session is ended

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

What command will show the amount of memory in use?

A

free

17
Q

What are the time intervals for the three uptime values?

A

1 5 and 15 minutes

18
Q

What ps option shows all the processes without a controlling terminal?

A

ps -x

19
Q

What ps option shows all the processes with controlling terminals?

A

ps -a

20
Q

What ps option shows all the processes?

A

ps -e

21
Q

What ps option shows all the processes for a particular user?

A

ps -u

22
Q

What ps option shows all the processes for a particualr command?

A

ps -C

23
Q

What ps option will specify what columns to display?

A

ps -o