Ch. 4.3 lesson 2 Flashcards

1
Q

How to get a listing of all running processes ?

A

“top”

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

“top - m”

A

Sorts processees by memory usage

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

“top -N”

A

Sorts processees by PID

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

“top -T”

A

Sorts processees by running time

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

“top -P”

A

Sorts processees by CPU usage

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

How to switch to descending order ?

A

-R

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

How to get static process information ?

A

“ps”

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

“ps -f”

A

Shows full format listing

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

What are the contents of “/proc” ?

A

Numbered subdirectory with every running process using their PID

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

Command to view collective number representing system load ?

A

“uptime”

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

Where are log files typically stored ?

A

“var/log”

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

What directory stores system and application data ?

A

/var/log/messages

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

Command to print the ring buffer ?

A

“dmesg”

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

Command to print file type ?

A

“file”

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

Command to show a listing of last logged in users ?

A

“last”

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

Command how to query the systemd journal ?

A

“journalctl”

17
Q

What kind of files are typically stored in “/var” ?

A

Variable data ex) logs

18
Q

What does the kernel ring buffer do ?

A

Logs kernel boot messages as well as any live kernel messages

19
Q
A