aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkshay Gaikwad <akgaikwad001@gmail.com>2021-01-13 15:08:52 +0530
committerJake Hunsaker <jhunsake@redhat.com>2021-01-13 13:14:53 -0500
commita8dbdd2143f693758b4df76a615d06c85d8638fd (patch)
treec34eefd5774014111dc110a1b4e8999b48a2f22e
parentd3e9ae5dc0689a0e8b3045e3ca417926286360fb (diff)
downloadsos-a8dbdd2143f693758b4df76a615d06c85d8638fd.tar.gz
[block] Add lsblk all column output command
"lsblk -O -P" provides all available column output in key pair format. Resolves: #2367 Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/block.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/report/plugins/block.py b/sos/report/plugins/block.py
index 0282cfd2..c4aa0361 100644
--- a/sos/report/plugins/block.py
+++ b/sos/report/plugins/block.py
@@ -28,7 +28,8 @@ class Block(Plugin, IndependentPlugin):
"blkid -c /dev/null",
"blockdev --report",
"ls -lanR /dev",
- "ls -lanR /sys/block"
+ "ls -lanR /sys/block",
+ "lsblk -O -P",
])
# legacy location for non-/run distributions