1. Which file is used primarily for diagnosing memory fragmentation issues ?
a) /proc/buddyinfo
b) /proc/meminfo
c) /proc/apm
d) none of the mentioned
View Answer
Explanation: None.
2. Which file shows the parameter passed to kernel at the time of starting?
a) /proc/apm
b) /proc/cmdline
c) both /proc/apm and /proc/cmdline
d) none of the mentioned
View Answer
Explanation: None.
3. For the system having one processor, the processor identifying number in the file /proc/cpuinfo is
a) 0
b) 1
c) 2
d) 3
View Answer
Explanation: None.
4. The file /proc/execdomains lists the
a) execution domains currently supported by the linux kernel
b) all domains of all processes
c) registered ISA DMA channel in use
d) none of the mentioned
View Answer
Explanation: None.
5. The file /proc/kcore displays a size of
a) RAM
b) RAM plus 4 KB
c) RAM plus 8 KB
d) None of the mentioned
View Answer
Explanation: None.
6. /bin/dmesg picks the messages from
a) /proc/kmesg
b) /sbin/klogd
c) both /proc/kmesg and /sbin/klogd
d) none of the mentioned
View Answer
Explanation: None.
7. The file /proc/locks displays the file currently locked by the
a) kernel
b) user
c) superuser
d) none of the mentioned
View Answer
Explanation: None.
8. The file /proc version shows the version of ______ used in the system.
a) kernel
b) gcc
c) both kernel and gcc
d) none of the mentioned
View Answer
Explanation: None.
9. What is /proc/self ?
a) a directory
b) link to the currently running process
c) it allows a process to look itself without having to know its process ID
d) all of the mentioned
View Answer
Explanation: None.
10. The /sbin/sysctl command is used to
a) view kernel settings in the /proc/sys/ directory
b) set kernel settings in the /proc/sys/ directory
c) automate kernel settings in the /proc/sys/ directory
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.
- Practice Programming MCQs
- Check Linux Books
- Check Information Technology Books
- Apply for Programming Internship