type github.com/prometheus/procfs.CPUStat
9 uses
github.com/prometheus/procfs (current package)
stat.go#L29: type CPUStat struct {
stat.go#L63: CPUTotal CPUStat
stat.go#L65: CPU []CPUStat
stat.go#L85: func parseCPUStat(line string) (CPUStat, int64, error) {
stat.go#L86: cpuStat := CPUStat{}
stat.go#L96: return CPUStat{}, -1, fmt.Errorf("couldn't parse %s (cpu): %s", line, err)
stat.go#L99: return CPUStat{}, -1, fmt.Errorf("couldn't parse %s (cpu): 0 elements parsed", line)
stat.go#L119: return CPUStat{}, -1, fmt.Errorf("couldn't parse %s (cpu/cpuid): %s", line, err)
stat.go#L232: stat.CPU = append(stat.CPU, CPUStat{})
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |