Skip to content

Commit

Permalink
Add pulpcore database to size report (#76)
Browse files Browse the repository at this point in the history
* Add pulpcore database to size report

Co-authored-by: William Bradford Clark <[email protected]>
  • Loading branch information
math3matical and wbclark authored Sep 28, 2021
1 parent d35bc09 commit 9159c44
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions postgres-size-report
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ echo ""
echo $TABLEQUERY | sudo -u postgres psql -d foreman


if PULPCORE_TABLESIZES=$(echo $TABLEQUERY | sudo -u postgres psql -d pulpcore 2>/dev/null)
then
echo ""
echo "************** Pulpcore Tablesizes *************"
echo ""
echo "$PULPCORE_TABLESIZES"
fi


echo ""
echo "*************** FileSystem Usage ***************"
echo ""
Expand Down

0 comments on commit 9159c44

Please sign in to comment.