Open avongluck-r1soft opened 9 years ago
It looks like meminfo is examining line 5 for "Active:", but the offset for active has moved to line 6.
$ cat /proc/meminfo MemTotal: 32915844 kB MemFree: 12771756 kB MemAvailable: 25949644 kB Buffers: 308388 kB Cached: 12658552 kB SwapCached: 0 kB Active: 6645692 kB Inactive: 8302520 kB Active(anon): 1982684 kB Inactive(anon): 85144 kB
Likely should be going off of the field names vs fixed line offsets.
Take a look at my pull request #13. You can build it from my fork to have this happen
+1
Please apply the suggested patch https://github.com/nethacker/usagewatch/pull/13
+1 for #13
It looks like meminfo is examining line 5 for "Active:", but the offset for active has moved to line 6.
Likely should be going off of the field names vs fixed line offsets.