what is stored in /proc ?
what is significance of /proc in linux ?

Answers were Sorted based on User's Feedback



what is stored in /proc ? what is significance of /proc in linux ?..

Answer / hillol nayak

Mainly hardware related information such as CPU
information, Memory (RAM) information stored under /proc
directory

example:
# cat /proc/cpuinfo (show the information of CPU of that
particular hardware)
# cat /proc/meminfo (show the information of Memory i.e.
RAM of that particular hardware)

Is This Answer Correct ?    21 Yes 3 No

what is stored in /proc ? what is significance of /proc in linux ?..

Answer / sahil makkar

Information related to process is stored in /proc
filesystem. One can say that full PCB(Process Control
Block) is there in /proc. proc is file system for RAM. Proc
filesystem is created while booting and as we run more
processes more entries are added to /proc directory for the
respective process.

Is This Answer Correct ?    5 Yes 1 No

what is stored in /proc ? what is significance of /proc in linux ?..

Answer / sandeep b

Proc is a psuedo file system so nothing is actually stored.
A read results in a call to function inside the kernel which
provides the information we see.
It makes information about the kernel and hardware available
to the user.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Linux System Calls Interview Questions

What is atomic function / atomic variable ?

1 Answers   Broadcom,


What are system calls used for process management in linux?

0 Answers  


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

1 Answers  


what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?

2 Answers   NetApp,


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 configure http server on red hat linux4.0?

5 Answers   IBM,


What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?

3 Answers   NetApp,


Explain process management system calls in linux?

0 Answers  


how to create a ftp user on redhat linux 4.0?

6 Answers   Accenture,


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

1 Answers   NetApp,


why the kernel panic error was appering?

13 Answers   Air2Web, Allianz,


what is sudo on linux?

3 Answers   IBM,


Categories