Chp 2: Managing Software - VII Flashcards

1
Q

What is considered the heart of every Linux system? *hint: popcorn pg. 88

A

Linux kernel

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

Which two options of the uname command often returns ‘unknown’ on many systems. pg. 88

A

Processor and Hardware Platform

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

What does the uname -a or –all command provide? pg. 88

A

all available information

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

What’s one of the most important tools in process management which is useful in monitoring what’s happening on a system? pg. 88

A

ps

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

What are the three types of options for ps? pg. 89

A

Unix 98 Options (preceded with a -), BSD Option (no dash), GNU Long Options (preceded with a - -)

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

T or F The ps options that can be grouped together may not be clustered with spaces between them. pg. 89

A

TRUE for example: ps -a -f would be typed ps -af

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

What ps options are useful to trace the parentage of a process? pg. 89

A

-H, -f, and –forest options group processes and use indentation to show the hierarchy of relationships between processes….note that the H is uppercase

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

What is the TOP tool and what is is used for? pg. 92

A

Top is a text-mode program used to discern how much CPU time various processes are consuming compared to one another or to identify which processes are consuming the most CPU time.

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

The ___ command provides a quick glance at how much physical and swap memory is in use, and how much is available. pg. 93

A

FREE

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

Which commands will launch a program with a specified priority or edit that priority? pg. 96

A

nice and renice

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

1 SIGHUP terminates interactive programs, 9 SIGTERM causes the process to exit w/out performing shutdown tasks, and 15 SIGTERM causes what effect? pg. 97

A

the process to exit after allowing it to close open files

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

T or F The kernel can pass signals to programs even if you don’t use the kill command. pg. 98

A

True

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

What program do you need to run in order to keep a program continuing to run after you’ve logged out? pg, 98

A

nohup

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

If you want to make sure you’re using the external program of kill to terminate a process, what complete path would you type? pg. 97

A

/bin/kill

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

What is the difference between kill and killall? pg. 98

A

kill ends the process based on the PID number, but killall end the process based on it’s name

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

What does killall -i do for you? pg. 98

A

asks for confirmation before sending the kill signal to each process