Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

/proc

/proc is the process information pseudo-filesystem found on most Linux systems (but not the BSDs).

It is the readable interface-to-kernel data structure, with some files that are writable, allowing for on-the-fly changes to be made to your running kernel.

Some useful files within this directory are the likes of /proc/cpuinfo, which, when queried, gives you all of the information the kernel knows about your CPU:

$ cat /proc/cpuinfo processor    : 0vendor_id    : GenuineIntelcpu family    : 6model        : 142model name    : Intel(R) Core(TM) i7-7500U CPU @ 2.70GHzstepping    : 9cpu MHz        : 2904.000cache size    : 4096 KBphysical id    : 0siblings    : 1core id        : 0cpu cores    : 1apicid        : 0initial apicid    : 0fpu        : yesfpu_exception    : yescpuid level    : 22wp        : yesflags : fpu ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content