aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2016-01-26 10:53:00 +0100
committerBryn M. Reeves <bmr@redhat.com>2016-02-01 18:09:22 +0000
commit28c87cdb311bafa194a1d2d8df2421b2a80323a7 (patch)
tree64754113f78436ac4f6e9885006eb72b05ce5b79
parent18df2d0b165b5c40fbb45ec7ca9e9eecbe45528b (diff)
downloadsos-28c87cdb311bafa194a1d2d8df2421b2a80323a7.tar.gz
[logs] collect journalctl --disk-usage
Resolves: #750 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/logs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py
index 70ef5373..16cb976e 100644
--- a/sos/plugins/logs.py
+++ b/sos/plugins/logs.py
@@ -33,6 +33,7 @@ class Logs(Plugin):
self.add_copy_spec_limit("/var/log/boot.log", sizelimit=self.limit)
self.add_copy_spec_limit("/var/log/cloud-init*", sizelimit=self.limit)
self.add_cmd_output([
+ "journalctl --disk-usage",
"journalctl --all --this-boot --no-pager",
"journalctl --all --this-boot --no-pager -o verbose",
])