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/internal/common
Ata 5fd5d64304
Cache common/common_linux.Virtualization()
By assuming virtualization environment won't change during a the program's runtime, we can cache common/common_linux.Virtualization() with a simple map to reduce amount of system calls. I first mentioned this issue at https://github.com/shirou/gopsutil/pull/890#issuecomment-690211919
5 years ago
..
binary.go fixed by golint. 9 years ago
common.go Attempted LXC guest detection from environ procfile 5 years ago
common_darwin.go Fix: use filename in exec.LookPath instead of full path 6 years ago
common_freebsd.go Fix: use filename in exec.LookPath instead of full path 6 years ago
common_linux.go Cache common/common_linux.Virtualization() 5 years ago
common_openbsd.go Fix: use filename in exec.LookPath instead of full path 6 years ago
common_test.go Adds ConntrackStats to get conntrack summary stats 6 years ago
common_unix.go [process][darwin] Fix #670 remove call to common.Pipeline (prone to race condition) 6 years ago
common_windows.go Fixed slow command line retrieval on Windows 5 years ago
sleep.go use cancelable sleep in cpu.PercentWithContext and process.Process.PercentWithContext 5 years ago
sleep_test.go use legacy error check in the common.TestSleep 5 years ago