meminfo_unsupported.go 205 B

12345678
  1. // +build !linux,!windows,!solaris
  2. package system
  3. // ReadMemInfo is not supported on platforms other than linux and windows.
  4. func ReadMemInfo() (*MemInfo, error) {
  5. return nil, ErrNotSupportedPlatform
  6. }