Hello Guys,
I thought it would be good idea to capture tablespace reports in the
spacewalk/satellite-debug script.
For now, I just grabbed the source from satellite, so, here's my patch:
--- bin/satellite-debug.patch 2009-06-12 15:00:55.000000000 +0530
+++ bin/satellite-debug 2009-06-12 15:01:53.000000000 +0530
@@ -145,9 +145,10 @@
rpm -qa --last > $DIR/rpm-manifest
rpm -qa | sort > $DIR/rpm-manifest-clean
-echo " * querying schema version and database charactersets"
+echo " * querying schema version, database charactersets and database
space"
/usr/bin/rhn-schema-version > $DIR/database-schema-version
/usr/bin/rhn-charsets > $DIR/database-character-sets
+/bin/su - oracle -c "/usr/bin/db-control report" > db-control-report
echo " * get diskspace available"
df -h > $DIR/diskinfo
Best regards,
--
Vishal Gaikwad, RHCE.
Sr. Software Maintenance Engineer.
Red Hat Global Support Services Pune, India.
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel