@server-state/disk-usage-module
v0.1.2
Published
A module to view the current disk usage on your system
Downloads
7
Readme
disk usage module
A module to view the current disk space of devices in your system.
You can specify the moint points in the given options, for example:
server.addModule('diskUsage', require('@server-state/disk-usage-module'), [
'/'
]);
with the following output:
{
"title": "virtualRoot",
"children": [
{
"title": "/",
"children": [
{
"title": "free",
"children": [
{
"title": "available",
"size": 26725240832
},
{
"title": "reserved",
"size": 3452747776
}
],
"size": 30177988608
},
{
"title": "used",
"size": 36926201856
}
],
"size": 67104190464
}
]
}
The output is specified in data formats.
The output generates a straight base to provide other applications useful information like server-states example client-base.
This official module belongs to the organization server-state.