20 lines
407 B
Go
20 lines
407 B
Go
//go:build aix
|
|
// +build aix
|
|
|
|
package load
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
func Avg() (*AvgStat, error) {
|
|
return AvgWithContext(context.Background())
|
|
}
|
|
|
|
// 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) {
|
|
return MiscWithContext(context.Background())
|
|
}
|