diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2019-01-19 12:57:19 -0500 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-21 16:23:37 +0000 |
commit | 6f03b85a9a18027a61d051b2c92d97c27f6c653f (patch) | |
tree | 4d6cbeb6f4dca0193436becc0b3495a8b09c735c | |
parent | d6986773d0a654ab03497818eb54e12b70181a2b (diff) | |
download | sos-6f03b85a9a18027a61d051b2c92d97c27f6c653f.tar.gz |
[postgresql] Add disk usage summary for psql home
Adds collection of 'du -sh' for the postgres home directory.
Related: #1525
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/postgresql.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/postgresql.py b/sos/plugins/postgresql.py index 78b03fef..1698b62f 100644 --- a/sos/plugins/postgresql.py +++ b/sos/plugins/postgresql.py @@ -74,6 +74,7 @@ class PostgreSQL(Plugin): def setup(self): self.do_pg_dump() + self.add_cmd_output("du -sh %s" % self.get_option('pghome')) class RedHatPostgreSQL(PostgreSQL, SCLPlugin): |