[check_postgres] New action: hitratio

Guillaume Lelarge guillaume at lelarge.info
Tue Apr 19 11:00:25 UTC 2011


Hi

The patch attached adds a new action, hitratio. It computes for each
database the cache hit ratio (blks_hit/(blks_hit+blks_read)).

I wrote it by copying the database_size action.

Thanks.


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-the-hitratio-action.patch
Type: text/x-diff
Size: 5716 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20110419/c54636a9/attachment.bin 


More information about the Check_postgres mailing list