Which four statements are true about the proc and sysfs filesystem?

Which four statements are true about the proc and sysfs filesystem?

Which four statements are true about the proc and sysfs filesystem?

A.
The sysfs filesystem contains information about processes.

B.
The proc filesystem contains information about CPUs.

C.
The proc filesystem contains information about memory.

D.
The sysfs filesystem contains information about CPUs.

E.
The sysfs filesystem contains information about memory.

F.
The proc filesystem contains information about the installer parameters.

Explanation:
* sysfs is the Virtual Filesystem created during the 2.6 Kernel release cycle to show
device information as procfs did not do this type of information that well.
Memory etc has not been ported to sysfs as it was never intended to show that type of information
so it is unlikely it will be ported at all.
* sysfs is a virtual file system provided by Linux. Sysfs exports information about devices and
drivers from the kernel device model to user space, and is also used for configuration.



Leave a Reply 9

Your email address will not be published. Required fields are marked *


Dilliadis

Dilliadis

B, C, D, F

Dilliadis

Dilliadis

Not A,
____
/sys/block : Contains known block devices

/sys/bus : Contains all registered buses.

/sys/class : Contains Devices

/sys/device : All devices known by the kernel organised by the bus that they connect to

/sys/firmware : Contains firmware files for some devices

/sys/fs : Contains files to control filesystems

/sys/kernel : Various kernel related files

/sys/module : Loaded kernel modules. Each module is represented by a directory of the same name.

/sys/power : Various files to handle power state of system
_____

Alex

Alex

BCDE, under /sys/devices/system directory, it contains cpu and memory directory.

some.guy

some.guy

BCDE

* /proc/cpuinfo
* /proc/meminfo
* /sys/devices/system/cpu
* /sys/devices/system/memory