2021-12-23 05:54:41 +08:00
|
|
|
//go:build aix
|
2021-11-09 21:14:54 +08:00
|
|
|
// +build aix
|
|
|
|
|
|
|
|
package mem
|
|
|
|
|
|
|
|
import (
|
2021-12-23 05:46:33 +08:00
|
|
|
"context"
|
2021-11-09 21:14:54 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
func VirtualMemory() (*VirtualMemoryStat, error) {
|
2021-12-23 05:46:33 +08:00
|
|
|
return VirtualMemoryWithContext(context.Background())
|
2021-11-09 21:14:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func SwapMemory() (*SwapMemoryStat, error) {
|
2021-12-23 05:46:33 +08:00
|
|
|
return SwapMemoryWithContext(context.Background())
|
2021-11-09 21:14:54 +08:00
|
|
|
}
|