What is the use of proc structure?

Answer Posted / srinivasan rajagopalan

/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 ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do mutexes work?

458


What is the difference between an environment and a local variable?

479


Is ios based on linux or unix?

428


Can I get linux on my mac?

446


What is the benefits of using linux?

449






What utility do we have to use for a log to rotate automatically?

510


Does arch linux have a gui?

453


What linux do hackers use?

459


How do you kill a process?

562


What are filenames that are preceded by a dot?

520


What are the linux distribution (operating system) names?

496


Is the address bus unidirectional?

466


How do you check if a particular service in running?

439


Mention the nfs server working process?

469


What is kernel? Explain the task it performs.

439