shirou_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.
2017-10-05 08:45:56 +01:00
..
mem.go Add 'SwapCached' to the VirtualMemoryStat informations on linux 2016-12-21 15:42:09 +01:00
mem_darwin.go Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 2017-06-02 13:51:00 -07:00
mem_darwin_cgo.go Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 2017-06-02 13:51:00 -07:00
mem_darwin_nocgo.go Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 2017-06-02 13:51:00 -07:00
mem_darwin_test.go add Timeout to invoke command and use common.Invoke refs: #201 2016-05-20 17:59:41 +09:00
mem_fallback.go memory: Add basic Solaris VirtualMemory() support 2017-03-14 16:28:50 -05:00
mem_freebsd.go Eliminate use of sysctl command on FreeBSD 2017-10-05 08:45:56 +01:00
mem_linux.go Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 2017-06-02 13:51:00 -07:00
mem_openbsd.go run go fmt ./... 2017-02-01 23:05:29 +00:00
mem_openbsd_amd64.go run go fmt ./... 2017-02-01 23:05:29 +00:00
mem_solaris.go error strings change to lowercase 2017-03-15 22:43:20 +09:00
mem_test.go mem: Skip TestVirtual_memory on Solaris 2017-03-15 08:10:23 -05:00
mem_windows.go Add implementation of SwapMemory() for windows 2017-09-18 18:14:29 -07:00
types_openbsd.go run go fmt ./... 2017-02-01 23:05:29 +00:00