4.3 Operating System - Where Data Is Stored Flashcards
Service configuration files are typically stored in which folder?
A) /etc
B) /sys
C) /proc
D) /srv
/etc
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 folder in /proc named for the PID
A PID
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
Running processes
System load average
Current CPU usage
The PIDs of running processes
Which command could you use to view all running processes?
A) ps
B) proc
C) ps aux
D) uptime
ps aux
Which command could you use to view only your processes?
A) ps aux
B) ps -u $(whoami)
C) ps u $(whoami)
D) ps -eF
ps -u $(whoami)