Merge pull request #65 from ohrensessel/overlayusage
add overlay usage to statistics.d
This commit is contained in:
commit
817aff13c4
|
@ -0,0 +1,4 @@
|
||||||
|
local fs = require "nixio.fs"
|
||||||
|
|
||||||
|
local st = fs.statvfs("/")
|
||||||
|
return 1 - st.bfree / st.blocks
|
Loading…
Reference in New Issue