MCPcopy Create free account
hub / github.com/OpenSN-Library/OpenSN-Library / HostResource

Struct HostResource

daemon/utils/monitor.go:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42type HostResource struct {
43 CPUUsage float64 `json:"cpu_usage"`
44 MemByte uint64 `json:"mem_byte"`
45 SwapMemByte uint64 `json:"swap_mem_byte"`
46}
47
48type InstanceResouce struct {
49 CPUUsage float64 `json:"cpu_usage"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected