Linux Proc Filesystem Questions & Answers – 3

This set of Linux / Unix questions and answers focuses on Linux Proc Filesystem. This is set-3.

1. Which one of the following operating system does not supports proc filesystem?
a) IBM AIX
b) QNX
c) Solaries
d) None of the mentioned
View Answer

Answer: d
Explanation: None.

2. Obtaining of the PID can be done by the utility
a) pgrep
b) pidof
c) ps
d) all of the mentioned
View Answer

Answer: d
Explanation: None.

3. Which one of the following contains various bits of information about the state of power management?
a) /proc/acpi
b) /proc/apm
c) both /proc/acpi and /proc/apm
d) none of the mentioned
View Answer

Answer: c
Explanation: None.

4. Which file contains the boot options passed to the kernel?
a) /proc/cmdline
b) /proc/root
c) /proc/boot
d) none of the mentioned
View Answer

Answer: c
Explanation: None.
advertisement
advertisement

5. Which one of the following is a symlink to the root path as seen by the process?
a) /proc/[PID]/root
b) /proc/[PID]/path
c) both /proc/apm and /proc/[PID]/path
d) none of the mentioned
View Answer

Answer: a
Explanation: None.

6. The directory /proc/[PID]/tasks contains
a) hard links to any task that have been started by this process
b) files that containing tasks that have been started by this process
c) sub-direcories of various tasks
d) none of the mentioned
View Answer

Answer: a
Explanation: None.
Note: Join free Sanfoundry classes at Telegram or Youtube

7. The list of available frame buffers are stored in
a) /proc/[PID]/fb
b) /proc/fb
c) /proc/etc/fb
d) none of the mentioned
View Answer

Answer: b
Explanation: None.

8. The buddy algorithm handles the
a) Memory fragmentation
b) DHCP server
c) Routing
d) None of the mentioned
View Answer

Answer: a
Explanation: None.
advertisement

9. The file /proc/swaps contains the
a) list of active swap partitions
b) sizes of the swap partitions
c) priorities of the swap partitions
d) all of the mentioned
View Answer

Answer: d
Explanation: None.

10. /proc/tty contains the information about
a) current terminal
b) all terminals
c) both current & all terminals
d) none of the mentioned
View Answer

Answer: a
Explanation: None.
advertisement

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.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.