What is the use of proc structure?

Answers were Sorted based on User's Feedback



What is the use of proc structure?..

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

What is the use of proc structure?..

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

Post New Answer

More Linux System Calls Interview Questions

what is mean by raid and what are all raids available even in software and hardware?

5 Answers   Satyam,


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 ?

4 Answers   NetApp,


how to create a ftp user on redhat linux 4.0?

6 Answers   Accenture,


what happens when we do insmod & rmmod in Linux Device Drivers ?

2 Answers  


Explain process management system calls in linux?

0 Answers  






how to configure http server on red hat linux4.0?

5 Answers   IBM,


What is the use of proc structure?

2 Answers   NetApp,


what are different ways the context switch happens from user to kernel space or vice-versa ?

0 Answers   Alcatel,


what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?

1 Answers  


what is the difference between user APIs and kernel system calls ?

1 Answers   NetApp,


What are the signals we have in Linux

3 Answers   HCL, NetApp,


What is atomic function / atomic variable ?

1 Answers   Broadcom,


Categories