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 |
What is atomic function / atomic variable ?
if root user forget the password how to change it?
how to create samba server in fedora linux 9 ?
what is cups and how to configure?
what is stored in /proc ? what is significance of /proc in linux ?
linux file defaults permition
diff b/w spinlock, seamaphores and mutex and where to use it.
what is samba, what is configuration file, how it will work?
what is the difference between user APIs and kernel system calls ?
what is segmentation fault?
how to configure http server on red hat linux4.0?
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?