February 2020
Intermediate to advanced
666 pages
15h 45m
English
Within the top level of /proc, the files and directories that have actual names contain information about what's going on with the Linux kernel. Here's a partial view:
[donnie@localhost proc]$ ls -ltotal 0. . .dr-xr-xr-x. 2 root root 0 Oct 19 14:24 acpidr-xr-xr-x. 5 root root 0 Oct 19 14:24 asound-r--r--r--. 1 root root 0 Oct 19 14:26 buddyinfodr-xr-xr-x. 4 root root 0 Oct 19 14:24 bus-r--r--r--. 1 root root 0 Oct 19 14:23 cgroups-r--r--r--. 1 root root 0 Oct 19 14:23 cmdline-r--r--r--. 1 root root 0 Oct 19 14:26 consoles-r--r--r--. 1 root root 0 Oct 19 14:24 cpuinfo. . .
As with the user-mode stuff, you can use cat to look at some of the different files. For example, here's a partial output of the cpuinfo file: ...