diff options
author | Alexandru Juncu <alexj@linux.com> | 2015-05-31 22:50:16 +0200 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-06-02 11:21:42 +0100 |
commit | 8bde2ae429ae19f7827ecf360682ee50802bf611 (patch) | |
tree | cc4d12d05ba2d90c412ee832b169e9dbf8acd071 | |
parent | d00628010460a55035ae540e21a48a3f53f70555 (diff) | |
download | sos-8bde2ae429ae19f7827ecf360682ee50802bf611.tar.gz |
[yum] add output for yum history
Sometimes it is useful to see recent packet changes in the system.
Yum history provides time information about actions like install,
remove or update operations on system packages.
Fixes #571.
Signed-off-by: Alexandru Juncu <alexj@linux.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/yum.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py index 697a6b5f..19ed7f2a 100644 --- a/sos/plugins/yum.py +++ b/sos/plugins/yum.py @@ -57,6 +57,7 @@ class Yum(Plugin, RedHatPlugin): self.add_cmd_output("rhsm-debug system --sos --no-archive " "--no-subscriptions --destination %s" % self.get_cmd_output_path()) + self.add_cmd_output("yum history") if self.get_option("yumlist"): # List various information about available packages |