1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-26 13:48:59 +08:00
shirou_gopsutil/load/load_aix.go

20 lines
407 B
Go
Raw Normal View History

2021-12-22 21:54:41 +00:00
//go:build aix
2021-11-09 13:14:54 +00:00
// +build aix
package load
import (
2021-12-22 21:46:33 +00:00
"context"
2021-11-09 13:14:54 +00:00
)
func Avg() (*AvgStat, error) {
2021-12-22 21:46:33 +00:00
return AvgWithContext(context.Background())
2021-11-09 13:14:54 +00:00
}
// Misc returns miscellaneous host-wide statistics.
// darwin use ps command to get process running/blocked count.
// Almost same as Darwin implementation, but state is different.
func Misc() (*MiscStat, error) {
2021-12-22 21:46:33 +00:00
return MiscWithContext(context.Background())
2021-11-09 13:14:54 +00:00
}