[check_postgres] New action: hitratio
Guillaume Lelarge
guillaume at lelarge.info
Fri Apr 22 15:23:46 UTC 2011
Le 19/04/2011 13:00, Guillaume Lelarge a écrit :
> 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.
>
The same with a test file.
--
Guillaume
http://www.postgresql.fr
http://dalibo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: database_hitratio.patch
Type: text/x-diff
Size: 8912 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20110422/ec84e77e/attachment-0001.bin
More information about the Check_postgres
mailing list