Ask the Community
Groups
Disk Utilization Test (snmp) in Linux based machines - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>Outcome:</strong> Reported Disk Utilisation % in Traverse is NOT inclusive of 5% disc space reservation for root.</p> <p><strong>Explanation:</strong></p> <p>In Linux based machine there is normally 5% disc space reservation for root.</p> <p>It is observed that Disk Usage % reported by command 'df' will be different from that is reported by snmp.</p> <p dir="auto"> </p> <ul><li dir="auto"> explanation of 'Use%' of this command: 'df -h'</li> </ul><pre class="code codeBlock" spellcheck="false" tabindex="0">[krish.majumder@bigair ~]$ sudo df -h [sudo] password for krish.majumder: Filesystem Size Used Avail Use% Mounted on /dev/xvde 99G 75G 19G 80% / </pre> <p dir="auto">Use% = (Size - Avail)/Size<br>80.80% = (99 - 19)/99</p> <p dir="auto">Note: Avail does not include 5% disc space reservation for root. This is evidenced by following calculation</p> <p dir="auto">(99 - 75 -19) = 5GB</p> <ul><li> explanation of 'Use%' by snmp</li> </ul><p>Use% = Used / Size = 75 / 99 = 75.75% (<strong>Traverse will report this</strong>)</p> <p> </p> <p>Further note: Why The Linux df Command Shows Lesser Free Disk Space?<br><a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fwww.walkernews.net%2F2011%2F01%2F22%2Fwhy-the-linux-df-command-shows-lesser-free-disk-space%2F" rel="noreferrer nofollow">http://www.walkernews.net/2011/01/22/why-the-linux-df-command-shows-lesser-free-disk-space/</a></p> </article> </main>