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 mean by raid and what are all raids available even in software and hardware?
if one of the critical section code (linked list) is under ISR & another one in kernel thread ? How you will synchronize for this critical section code ?
how to create a ftp user on redhat linux 4.0?
what happens when we do insmod & rmmod in Linux Device Drivers ?
Explain process management system calls in linux?
how to configure http server on red hat linux4.0?
What is the use of proc structure?
what are different ways the context switch happens from user to kernel space or vice-versa ?
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?
what is the difference between user APIs and kernel system calls ?
What are the signals we have in Linux
What is atomic function / atomic variable ?