Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
pg_db_size
95449
File | Description |
---|---|
pg_db_size.tar.gz | Measure size of any Postgres database |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
It creates a view in the database the first time it's run. All consecutive times it will return the size.
You can set the size factor to KB, MB or GB so that you can get the output you'd like.
It requires the pqxx library (PostgreSQL's C++ wrapper classes) and ofcourse the PostgreSQL client library the libpq.
You can set the size factor to KB, MB or GB so that you can get the output you'd like.
It requires the pqxx library (PostgreSQL's C++ wrapper classes) and ofcourse the PostgreSQL client library the libpq.
Reviews (0)
Be the first to review this listing!