- 29 9月, 2021 1 次提交
-
-
由 shirou 提交于
-
- 09 9月, 2021 1 次提交
-
-
由 Punya Biswal 提交于
* use LookPath for better error messages * support procfs in containers
-
- 19 8月, 2021 1 次提交
-
-
由 Tom Barker 提交于
-
- 30 11月, 2020 1 次提交
-
-
由 Lomanic 提交于
-
- 25 5月, 2020 1 次提交
-
-
由 James Bebbington 提交于
-
- 31 1月, 2020 2 次提交
-
-
由 Xuewei Zhang 提交于
-
由 Xuewei Zhang 提交于
These fields helps people understand anonymous memory usage pattern.
-
- 20 12月, 2019 1 次提交
-
-
由 lanixzcj 提交于
-
- 20 7月, 2019 1 次提交
-
-
由 Minje Park 提交于
-
- 25 4月, 2019 1 次提交
-
-
由 lootek 提交于
-
- 23 3月, 2019 1 次提交
-
-
由 mingrammer 提交于
-
- 12 2月, 2019 1 次提交
-
-
由 Minje Park 提交于
-
- 30 1月, 2019 2 次提交
-
-
由 Minje Park 提交于
-
由 Minje Park 提交于
-
- 06 1月, 2019 1 次提交
-
-
由 Minje Park 提交于
manual available memory calculation should be done if only memavail is false Manual Available Memory calculation under kernel 3.14 accurate manaul available memory calculation
-
- 13 12月, 2018 1 次提交
-
-
由 Minje Park 提交于
-
- 20 11月, 2018 1 次提交
-
-
由 marcospedreiro 提交于
-
- 19 11月, 2018 1 次提交
-
-
由 marcospedreiro 提交于
-
- 20 6月, 2018 1 次提交
-
-
由 Shrug 42 提交于
-
- 27 3月, 2018 1 次提交
-
-
由 Dimitris Rozakis 提交于
Used memory was calculated as Total - Available. For newer kernels (3.14+), available memory is taken from /proc/meminfo, whereas for older kernels it is computed as free+buffered+cached. This commit changes that behavior. Available memory is still taken from /proc/meminfo, if available, but used memory is always computed as total-free-buffered-cached. This way, it matches the output of `free` for used memory (in the -/+ buffers/cache line) and other tools. Prior to this change, I'd see a reported used memory of 600MiB whereas free, htop and other tools would report a used memory of 1.8GiB. And adding used, cached, buffered and free memory would leave ~1.2GiB unaccounted for.
-
- 31 12月, 2017 1 次提交
-
-
由 shirou 提交于
-
- 26 12月, 2017 1 次提交
-
-
由 Olivier Vielpeau 提交于
-
- 03 6月, 2017 1 次提交
-
-
由 Sean Chittenden 提交于
-
- 21 12月, 2016 1 次提交
-
-
由 Maxime Mouial 提交于
-
- 19 12月, 2016 1 次提交
-
-
由 Maxime Mouial 提交于
-
- 04 9月, 2016 1 次提交
-
-
由 Luca Berruti 提交于
According to sysinfo manpages: swap fields need to be interpreted along with the mem_unit (Unit) field. See also http://stackoverflow.com/a/4229727
-
- 16 8月, 2016 1 次提交
-
-
由 kthommandra 提交于
-
- 22 2月, 2016 1 次提交
-
-
由 Johan Walles 提交于
-
- 16 12月, 2015 2 次提交
-
-
由 Ryan J. O'Neil 提交于
-
由 Ryan J. O'Neil 提交于
-
- 19 10月, 2015 1 次提交
-
-
由 Daniel Theophanes 提交于
Package common wasn't used for public functions. Place it in an internal directory to prevent other packages from using. Remove the distributed references to "HOST_PROC" and "HOST_SYS" consts and combine into a common function. This also helps so that if a env var is defined with a trailing slash all will continue to work as expected. Fixes #100
-
- 18 10月, 2015 1 次提交
-
-
由 Jonathan Chauncey 提交于
Added the ability to fetch an alternative location for /proc via an environment variable. If the env var is not set it will return /proc as the default value.
-
- 22 9月, 2015 1 次提交
-
-
由 Cameron Sparr 提交于
-
- 27 8月, 2015 1 次提交
-
-
由 Cameron Sparr 提交于
/proc/meminfo reports memory in KiloBytes and so needs a multiplier of 1024 instead of 1000. The kernel reports in terms of pages and the proc filesystem is left shifting by 2 for 4KB pages to get KB. Since this is a binary shift, Bytes will need to shift by 10 and so get multiplied by 1024. From the kernel code. PAGE_SHIFT = 12 for 4KB pages "MemTotal: %8lu kB\n", K(i.totalram) Thanks to @subhachandrachandra!
-
- 30 12月, 2014 1 次提交
-
-
由 Shirou WAKAYAMA 提交于
-
- 27 11月, 2014 2 次提交
-
-
由 WAKAYAMA shirou 提交于
-
由 Shirou WAKAYAMA 提交于
-
- 02 11月, 2014 1 次提交
-
-
由 Nikolay Sivko 提交于
-
- 19 9月, 2014 2 次提交
-
-
由 WAKAYAMA Shirou 提交于
-
由 WAKAYAMA Shirou 提交于
However, so many err check is introduced. Some refactoring is needed.
-