diff options
author | Jose Castillo <jcastillo@redhat.com> | 2021-09-08 09:25:24 +0200 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-09-14 13:03:40 -0400 |
commit | 23e523b6b9784390c7ce2c5af654ab497fb10aaf (patch) | |
tree | 7d35edf1347a641cfc5cdf37716c9f6d9db5f0ca | |
parent | 623a8afd64b5d6e2cfe8a5e4511e9a6418a948bb (diff) | |
download | sos-23e523b6b9784390c7ce2c5af654ab497fb10aaf.tar.gz |
[kernel] Capture Pressure Stall Information
Kernel 4.20 includes PSI metrics for CPU, memeory and IO.
The feature is enabled after adding "psi=1" as
kernel boot parameter.
The information is captured in files
in the directory /proc/pressure.
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
-rw-r--r-- | sos/report/plugins/kernel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/report/plugins/kernel.py b/sos/report/plugins/kernel.py index 8c5e5e11..803f5e30 100644 --- a/sos/report/plugins/kernel.py +++ b/sos/report/plugins/kernel.py @@ -112,7 +112,8 @@ class Kernel(Plugin, IndependentPlugin): "/sys/kernel/debug/extfrag/unusable_index", "/sys/kernel/debug/extfrag/extfrag_index", clocksource_path + "available_clocksource", - clocksource_path + "current_clocksource" + clocksource_path + "current_clocksource", + "/proc/pressure/" ]) if self.get_option("with-timer"): |