1. What is /proc/[PID]/root?
a) symbolic link that points to the process’s root directory
b) regular file which holds all the PID of the system
c) root directory
d) does not exists in the proc filesystem
View Answer
Explanation: None.
2. “ps” command uses the file _____ to provide the information.
a) /proc/[PID]/stat
b) /proc/[PID]/smaps
c) /proc/[PID]/oom_score_adj
d) /proc/[PID]/oom_score
View Answer
Explanation: None.
3. Which one of the following is not correct?
a) proc filesystem does not contain any directory for thread in the process
b) in multithread process thread details will not be available if the main thread is already terminated
c) proc filesystem contain any directory
d) none of the mentioned
View Answer
Explanation: None.
4. Proc filesystem does not contains
a) sub-directories for installed buses
b) device files
c) list of registered DMA
d) none of the mentioned
View Answer
Explanation: None.
5. The file /proc/devices is the
a) text listing of major numbers
b) text listing of device groups
c) text listing of major numbers & device groups
d) none of the mentioned
View Answer
Explanation: None.
6. The file /proc/cpuinfo is a collection of
a) cpu items
b) architecture independent items
c) both cpu items and architecture independent items
d) none of the mentioned
View Answer
Explanation: None.
7. The proc filesystem records the number of interrupts
a) per CPU only
b) per IO device only
c) per CPU per IO device
d) none of the mentioned
View Answer
Explanation: None.
8. Which file of the proc filesystem can be used instead of “syslog” system call to read kernel messages?
a) /proc/kmsg
b) /proc/moudle/kmsg
c) /proc/module/msg
d) /proc/msg
View Answer
Explanation: None.
9. The file /proc/modules is a text list of
a) static modules
b) dynamic modules
c) modules that have been loaded by the system
d) none of the mentioned
View Answer
Explanation: None.
10. /proc/partitions contains
a) major number of each partition
b) minor number of each partition
c) number of block and partition name
d) all of the mentioned
View Answer
Explanation: None.
Sanfoundry Global Education & Learning Series – Linux Administration & Programming.
Here’s the list of Best Books in Linux Commands & Shell Programming.
Here’s the list of Best Books in Linux Kernel, Device-Drivers & System Programming.
To practice all questions on Linux Administration & Programming, here is complete set of 1000+ Multiple Choice Questions and Answers on Linux.
- Apply for Programming Internship
- Check Information Technology Books
- Check Linux Books
- Practice Programming MCQs