fusionplant.com


UTC 07:45:18
Friday
3/29/2024



March 2024
SuMoTuWeThFrSa 
     12 
3456789 
10111213141516 
17181920212223 
24252627282930 
31       
Calendar Tool

welcome

The /proc Filesystem - Linux Reference

Here are some solutions to problems Linux users often encounter. If you have a better solution or
have a question please send your solutions, questions, or comments to us.
Are any of these solutions obsolete? Are they clear and easy to understand?


What is /proc?
What are all these files for?









What is /proc?

The /proc filesystem does not actually exist. It does not take up any
disk space. It is created on memory by the kernel. /proc provides 
information about the system and its processes. You can find some 
information on /proc by typing:
man proc

[TOP]



What are all these files for?

/proc/1
This is a directory containing information about process number 1.
So, /proc/1234 would contain information about process ID number 1234.

/proc/cpuinfo 
this gives you information about your computer's processor type, speed
and more. Type:
cat /process/cpuinfo

You can find out what any file contains by typing cat and the filename.

/proc/interrupts shows what IRQs are used, /proc/dma is about
dma, etc...

/proc/kcore is an image of the actual memory. 

/proc/uptime
If you are fimilar with the command uptime this is where the 
information is taken. This shows how long the system has been
up in seconds. So if typing cat /proc/uptime shows that your 
system has been up for 8467200 seconds you can divide it like this:
8467200 / 24 / 60 / 60 = 98 days


[TOP]