What is the use of proc structure?
Answers were Sorted based on User's Feedback
Answer / kamal
/proc is virtual file system.
The Linux kernel has two primary functions: to control
access to physical devices on the computer and to schedule
when and how processes interact with these devices.
The /proc/ directory ? also called the proc file system ?
contains a hierarchy of special files which represent the
current state of the kernel ? allowing applications and
users to peer into the kernel's view of the system.
Within the /proc/ directory, one can find a wealth of
information detailing the system hardware and any processes
currently running. In addition, some of the files within
the /proc/ directory tree can be manipulated by users and
applications to communicate configuration changes to the
kernel.
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / amsaraj
All the running process created by the uere will have entry
as a file in the /proc directory.
| Is This Answer Correct ? | 8 Yes | 2 No |
if root user forget the password how to change it?
What does exec family return?
Explain process management system calls in linux?
diff b/w spinlock, seamaphores and mutex and where to use it.
What are the signals we have in Linux
what is bus trap.
what kind of information the linux driver modules (.ko ) files has ?
what is mean by raid and what are all raids available even in software and hardware?
what is samba, what is configuration file, how it will work?
what is cups and how to configure?
What is atomic function / atomic variable ?
1. Where the History file can be located? 2. How will you harden the server? 3. Diff between Raid 1 and Raid 5? 4. What is the largest disk size can be used in LVM? 5. How will you remove a PV from lvm without any data loss? 6. What is the diff between ext3 and ext2 File system? 7. How we can use resize2fs, what is the purpose? 8. What is the purpose of LVM? Why it is used? 9. If the FS is in read-only mode, so we cannot create any file. How will you fix it? 10. How to create swap partition after OS installation? 11. What is the diff between ssh and telnet? 12. How to find out the dependency required for a package?