InterviewSolution
| 1. |
Explain /proc filesystem? |
|
Answer» /proc is a virtual file system that provides detailed information about the Linux kernel, hardware, and running processes. /prod is a generic file available in all flavours of Linux. Files under /proc directory named as Virtual files. These files are CREATED when the system boots up and dissolve on shutdown. It contains information about running processes and works as an information zone for the kernel. /proc is also a hidden tool for a system ADMINISTRATOR for analyzed and TROUBLESHOOTING performance and system bottleneck related ISSUES. These virtual files have unique QUALITIES. Most of them are listed as zero bytes in size as they reside in memory, not on disk. Virtual files such as the /proc/interrupts, /proc/meminfo, /proc/mounts, and the /proc/partitions provide an up-to-the-moment glimpse of system’s hardware. Others: /proc/filesystems file and /proc/sys/ directories provide system configuration information and interfaces. These are tools for a system administrator to troubleshoot and analyze the issues. |
|