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

Function getCpuUsage

example/example_server.ts:68–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68function getCpuUsage() {
69 return new Promise((reslove, reject) => {
70 osUtils.cpuUsage(value => {
71 reslove(value)
72 })
73 })
74}
75
76function getCpuFree() {
77 return new Promise((reslove, reject) => {

Callers 1

getInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected