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 does exec family return?

1 Answers  


what is the diff b/w MUTEX and semaphore?

12 Answers   Sony, TCS,


What is the use of proc structure?

2 Answers   NetApp,


why the kernel panic error was appering?

13 Answers   Air2Web, Allianz,


what is samba, what is configuration file, how it will work?

3 Answers   Wipro,






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

1 Answers   NetApp,


linux system its not booting up its showing groub error what i need to do?

4 Answers   Wipro,


What are system calls used for process management in linux?

0 Answers  


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

2 Answers  


what is segmentation fault?

11 Answers   AdTel, NetApp,


1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?

2 Answers   Wipro,


diff b/w spinlock, seamaphores and mutex and where to use it.

2 Answers   Intel,


Categories