Skip to Content
Mastering Linux Security and Hardening - Second Edition
book

Mastering Linux Security and Hardening - Second Edition

by Donald A. Tevault
February 2020
Intermediate to advanced
666 pages
15h 45m
English
Packt Publishing
Content preview from Mastering Linux Security and Hardening - Second Edition

Looking at kernel information

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: ...

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

Mastering Linux Security and Hardening - Third Edition

Mastering Linux Security and Hardening - Third Edition

Donald A. Tevault
UNIX and Linux System Administration Handbook, 5th Edition

UNIX and Linux System Administration Handbook, 5th Edition

Trent R. Hein, Evi Nemeth, Garth Snyder, Ben Whaley, Dan Mackin

Publisher Resources

ISBN: 9781838981778Supplemental Content