GitXplorerGitXplorer
f

linux-memavailable-procfs

public
5 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
cfb776d989a82bc2a37bd026a30608ec908a5bf9

Backport the new slightly different algorithm for "MemAvailable" used by Linux kernel 4.8+ (issue #2)

ffamzah committed 8 years ago
Unverified
22e72b2848265fafe67f5180e67f2db097fe342a

Sample commented-out debug features.

ffamzah committed 8 years ago
Unverified
027c3e53f814e2b63c5ed8992236790c4f13fac8

bugfix: http://blog.famzah.net/2014/09/24/memavailable-metric-for-linux-kernels-before-3-14-in-procmeminfo/#comment-18224

ffamzah committed 9 years ago
Unverified
79241bd65da1cdcb2327ad8147af603470b0ee20

Merge branch 'master' of github.com:famzah/linux-memavailable-procfs

ffamzah committed 10 years ago
Unverified
bec44e67aafa387fd13bcbc513d09ce97ba4b32e

bugfix the $minus_caches_data calculation (issue #1)

ffamzah committed 10 years ago
Unverified
4687882dc9058aebc1cf6c67bb83f0e6e2352396

Add "Extended caches info" when verbose.

ffamzah committed 10 years ago

README

The README file for this repository.

linux-memavailable-procfs

A Perl backport of the /proc/meminfo "MemAvailable" metric which got introduced in Linux 3.14 kernels.

Additionally, an improved "free" util is provided which replaces the traditional, outdated one.

You can read the Perl module documentation by executing "perldoc Linux-MemAvailable.pm" in a terminal. The "free.pl" executable has a standard documentation via "--help".

The original C source code in the kernel: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773

More info about the "MemAvailable" metric can be found in the kernel /proc filesystem docs: https://www.kernel.org/doc/Documentation/filesystems/proc.txt

Blog article with a few examples: http://blog.famzah.net/2014/09/24/memavailable-metric-for-linux-kernels-before-3-14-in-procmeminfo/