mirror of https://github.com/shirou/gopsutil
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.
Before this change we used to exec() various binaries to find out memory information. While this worked, it was awfully slow. And if somebody would want to compute how many percent of available memory all PIDs on the system uses, that would take almost ten seconds on my laptop with the previous implementation. This implementation fares a lot better, and is smaller. |
9 years ago | |
---|---|---|
.. | ||
mem.go | 11 years ago | |
mem_darwin.go | 9 years ago | |
mem_darwin_test.go | 9 years ago | |
mem_freebsd.go | 10 years ago | |
mem_linux.go | 10 years ago | |
mem_test.go | 11 years ago | |
mem_windows.go | 10 years ago |