You are on page 1of 6

Proc File

Proc file system is a file system


that is used as a crossing point of a kernel of facts. There most files are read only but
some files are allow kernel variable to change.

Proc file in fedora access by giving simple command on terminal of virtual memory
player.

Cd //proc

After above command we get a list of files of proc.we see these files by giving follow
command.

Vi procfilename

Now we discuss their some files.

CpuInfo:
In cpuInfo command there is a list of CPU and other system dependent items. we get
two basic entries from this command CPU number and bogomips(A System constant
that is calculated during kernel initialization.).Also cpuinfo command all the details of
cpu like model, cache size etc.

Above snap tells about the vendor id,cpu family,processer,model,model


name,flags,bogomimps etc.

SlabInfo:
Slab Info command used to get information about kernel caches. In this information
we get following information from each slab cache given as follows.

✔ Cache Name
✔ Number of currently active objects
✔ Total available objects
✔ Size of object in bytes etc.

Kernel compiled with slab cache.

Zone Info:
Above snap shows that this command is used to get information about memory zones
like pages(free,min,low etc.).Now by using this command we easily get information
about that how the virtual memory behaves.

Devices:
This file shows the devices that are currently configured on system. Basically devices
are of two types character devices and blocked devices. The main difference between
these two type of devices is that block devices has buffer variable while character
devices have not buffer variable. And character devices send data with no limit of size.
Block devices send and receive data in a blocks of size configured per device.

Interrupts:
Above file shows the information about the interrupts per IRQ on architecture. This file
depends on the machine for multiprocessor machine this file looks different. In above
pic the first column show the IRQ number where as second column shows the type of
interrupt and the last column shows the name of device.

You might also like