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

20 lines
434 B
Go
Raw Permalink Normal View History

// SPDX-License-Identifier: BSD-3-Clause
2021-12-22 21:54:41 +00:00
//go:build aix
2021-11-09 13:14:54 +00:00
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
}