MCPcopy Create free account
hub / github.com/blinker-iot/blinker-js / getDiskinfo

Function getDiskinfo

example/example_server.ts:61–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59})
60
61async function getDiskinfo() {
62 let diskData = await diskinfo('./');
63 addData('diskTotle', diskData.size)
64 addData('diskUsed', diskData.used)
65 addData('diskAvailable', diskData.avail)
66}
67
68function getCpuUsage() {
69 return new Promise((reslove, reject) => {

Callers 1

getInfoFunction · 0.85

Calls 1

addDataFunction · 0.85

Tested by

no test coverage detected