Skip Menu |

This queue is for tickets about the Sys-Statistics-Linux CPAN distribution.

Report information
The Basics
Id: 132484
Status: new
Priority: 0/
Queue: Sys-Statistics-Linux

People
Owner: Nobody in particular
Requestors: Ma_Sys.ma [...] web.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Include SReclaimable space in realfree
Date: Sat, 02 May 2020 20:15:08 +0200
To: bug-Sys-Statistics-Linux [...] rt.cpan.org
From: Linux-Fan <Ma_Sys.ma [...] web.de>
Hello, I would like to report an issue in Sys::Statistics::Linux::MemStats. When checking the numbers reported by `realfree` I was surprised to find them mismatching `free -h` output. Comparing the source codes, it seems that `free` counts `SReclaimable` space as free. However, not being exposed through the `Sys::Statistics::Linux::MemStats` module, it is difficult to obtain the figure without parsing `/proc/meminfo` again (which is what I am doing at the moment...). I would thus propose that `SReclaimable` be taken into account for `realfree` computation and/or that a `sreclaimable` field is created in the mem stats. Tell me if this sounds reasonable and I will be happy to propose a patch :) Thanks in advance Linux-Fan
Download (untitled)
application/pgp-signature 833b

Message body not shown because it is not plain text.