[PATCH] ctdb-scripts: Avoid dividing by zero in memory calculation

José A. Rivera jarrpa at samba.org
Thu Apr 21 18:35:11 UTC 2016


Howdy!

This is just a small patch to avoid a divide-by-zero error in awk while
monitoring CTDB. Found this due to a few small VMs I run with no swap. 
:)

Cheers,
--Jose
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-db0.patch
Type: text/x-diff
Size: 1171 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160421/340b5738/no-db0.diff>


More information about the samba-technical mailing list