4.3 Operating System - Where Data Is Stored Flashcards

1
Q

Service configuration files are typically stored in which folder?

A) /etc
B) /sys
C) /proc
D) /srv

A

/etc

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

Every running process on the system has __. (Pick 2)

A) A temporary file in /var/tmp/
B) A folder in /proc named for the PID
C) A temporary file in /tmp/
D) A PID

A

A folder in /proc named for the PID

A PID

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

The top command displays which of the following? (Pick 4)

A) Runny processes
B) System load average
C) File space usage
D) Current CPU usage
E) File system disk space usage
F) Name of current/working directory
G) The PIDs of running processes
H) Directory contents

A

Running processes

System load average

Current CPU usage

The PIDs of running processes

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

Which command could you use to view all running processes?

A) ps
B) proc
C) ps aux
D) uptime

A

ps aux

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

Which command could you use to view only your processes?

A) ps aux
B) ps -u $(whoami)
C) ps u $(whoami)
D) ps -eF

A

ps -u $(whoami)

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