diff options
author | Jose Castillo <jose.mfcastillo@gmail.com> | 2020-11-16 16:07:03 +0100 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-01-13 13:11:57 -0500 |
commit | 5fb859f52a5a77657d509c7f4d3590fdca694931 (patch) | |
tree | d5c2b50ba171190ecc72793e94ff5cebe35f29f8 | |
parent | 9256b63f7b228cce167d1039d1c08875ad9fd185 (diff) | |
download | sos-5fb859f52a5a77657d509c7f4d3590fdca694931.tar.gz |
[process] Collect the output of the "pidstat" command
The "pidstat" command prints CPU time breakdowns per CPU
and, it can also print useful information from other
subsystems {I/O, MM} in a single line.
Related: RHBZ#1898155
Resolves: #2310
Signed-off-by: Jose Castillo <jose.mfcastillo@gmail.com>
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/report/plugins/process.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/report/plugins/process.py b/sos/report/plugins/process.py index be2829a5..b8fa9d3c 100644 --- a/sos/report/plugins/process.py +++ b/sos/report/plugins/process.py @@ -60,4 +60,9 @@ class Process(Plugin, IndependentPlugin): if self.get_option("samples"): self.add_cmd_output("iotop -b -o -d 0.5 -t -n %s" % self.get_option("samples")) + + self.add_cmd_output([ + "pidstat -p ALL -rudvwsRU --human -h", + "pidstat -tl" + ]) # vim: set et ts=4 sw=4 : |