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

Update AIX percpu minimum needed lines

This commit is contained in:
Dylan Myers 2024-05-15 13:55:37 -04:00
parent 0a1f220077
commit 5d3cf2e9e7

View File

@ -19,7 +19,7 @@ func TimesWithContext(ctx context.Context, percpu bool) ([]TimesStat, error) {
return nil, err
}
lines := strings.Split(string(per_out), "\n")
if len(lines) < 5 {
if len(lines) < 6 {
return []TimesStat{}, common.ErrNotImplementedError
}