Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
68
function
getCpuUsage() {
69
return
new
Promise((reslove, reject) => {
70
osUtils.cpuUsage(value => {
71
reslove(value)
72
})
73
})
74
}
75
76
function
getCpuFree() {
77
return
new
Promise((reslove, reject) => {
Callers
1
getInfo
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected