docs: add system-state document to admin-guide
Shuah Khan
reviewerPATCH 1/1 docs: add system-state document to admin-guide
Add a new system state document to the admin-guide. This document is intended to be used as a guide on how to gather higher level information about a system and its run-time activity.
--- Documentation/admin-guide/index.rst | 1 + Documentation/admin-guide/system-state.rst | 348 +++++++++++++++++++++ 2 files changed, 349 insertions(+) create mode 100644 Documentation/admin-guide/system-state.rst
Documentation/admin-guide/index.rst +1 -0
@@ -66,6 +66,7 @@ subsystems expectations will be found here. :maxdepth: 1 workload-tracing + system-state The rest of this manual consists of various unordered guides on how to configure specific aspects of kernel behavior to your liking.
Documentation/admin-guide/system-state.rst new file +348 -0
348 lines not on this page · raw message
Signature · 1 line
2.34.1
Documentation/admin-guide/system-state.rst line 45
Quoted 2 lines · Shuah Khan
Documentation/admin-guide/system-state.rst new file +2
-0+scripts/checksyscalls.sh can be used to check if current architecture is +missing any function calls compared to i386.
i386 is the reference architecture for comparing syscalls, right?
Documentation/admin-guide/system-state.rst line 162
Quoted 3 lines
Documentation/admin-guide/system-state.rst new file +3
-0+This scripts parses Documentation/features to find the support status +information. It can be used to validate the contents of the files under +Documentation/features or simply list.::
"... to validate contents of Documentation/features files or simply list them::"
Documentation/admin-guide/system-state.rst line 255
Quoted 7 lines
Documentation/admin-guide/system-state.rst new file +7
-0+Let's do one last sanity check on the system to see if the following two +command outputs match. If they don't examine your system closely. kernel +rootkits install their own ps, find, etc. utilities to mask their activity. +The outputs match on my system. Do they on yours? + +ps ax | wc -l +ls -d /proc/* | grep [0-9]|wc -l
The shell snippet above should be in a code block for consistency with other snippets.
Documentation/admin-guide/system-state.rst line 262
Quoted 3 lines
Documentation/admin-guide/system-state.rst new file +3
-0+Linux kernel supports several hardening options to make system secure. +kconfig-hardened-check tool sanity checks kernel configuration for +security. You can checkout the latest::
"... If you don't have the tool handy, you can clone the repository::"
Quoted 1 line
Shouldn't the last ref be internal link (Documentation/trace/index.rst)?
Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Shuah Khan
reviewerQuoted 6 lines · Bagas Sanjaya
Documentation/admin-guide/system-state.rst line 45
Quoted 2 lines · Shuah Khan
Documentation/admin-guide/system-state.rst new file +2
-0+scripts/checksyscalls.sh can be used to check if current architecture is +missing any function calls compared to i386.i386 is the reference architecture for comparing syscalls, right?
Correct. If you are askig about "function calls" wording, this is coming right from the checksyscalls.sh
Quoted 7 lines
Documentation/admin-guide/system-state.rst line 162
Quoted 3 lines
Documentation/admin-guide/system-state.rst new file +3
-0+This scripts parses Documentation/features to find the support status +information. It can be used to validate the contents of the files under +Documentation/features or simply list.::"... to validate contents of
Documentation/featuresfiles or simply list them::"
Quoted 8 lines
Documentation/admin-guide/system-state.rst line 255
Quoted 7 lines
Documentation/admin-guide/system-state.rst new file +7
-0+Let's do one last sanity check on the system to see if the following two +command outputs match. If they don't examine your system closely. kernel +rootkits install their own ps, find, etc. utilities to mask their activity. +The outputs match on my system. Do they on yours? + +ps ax | wc -l +ls -d /proc/* | grep [0-9]|wc -l
Thanks for catching this.
Quoted 8 lines
The shell snippet above should be in a code block for consistency with other snippets.
Documentation/admin-guide/system-state.rst line 262
Quoted 3 lines
Documentation/admin-guide/system-state.rst new file +3
-0+Linux kernel supports several hardening options to make system secure. +kconfig-hardened-check tool sanity checks kernel configuration for +security. You can checkout the latest::"... If you don't have the tool handy, you can clone the repository::"
I can fix it to say "clone the latest"
Quoted 5 lines
Quoted 2 lines
Shouldn't the last ref be internal link (
Documentation/trace/index.rst)?
This docs.kernel.org link intentional and it is better to this rendered version.
thanks,
-- Shuah