You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/mem
Steven Hartland 6450c60b61 Eliminate use of sysctl command on FreeBSD
In order to improve performance and help prevent crashes due to the outstanding fork crash bug:
https://github.com/golang/go/issues/15658

Replace string parsed values from the sysctl command with native reads of sysctl values using unix.SysctlRaw and unix.SysctlUint32.

This also merges OpenBSD and FreeBSD load implementations which are identical.
8 years ago
..
mem.go Add 'SwapCached' to the VirtualMemoryStat informations on linux 8 years ago
mem_darwin.go Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 8 years ago
mem_darwin_cgo.go Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 8 years ago
mem_darwin_nocgo.go Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 8 years ago
mem_darwin_test.go add Timeout to invoke command and use common.Invoke refs: #201 9 years ago
mem_fallback.go memory: Add basic Solaris VirtualMemory() support 8 years ago
mem_freebsd.go Eliminate use of sysctl command on FreeBSD 8 years ago
mem_linux.go Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 8 years ago
mem_openbsd.go run go fmt ./... 8 years ago
mem_openbsd_amd64.go run go fmt ./... 8 years ago
mem_solaris.go error strings change to lowercase 8 years ago
mem_test.go mem: Skip TestVirtual_memory on Solaris 8 years ago
mem_windows.go Add implementation of SwapMemory() for windows 8 years ago
types_openbsd.go run go fmt ./... 8 years ago