summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/Mem.hs
AgeCommit message (Collapse)Author
2014-11-12Introduce available memory variables in memory monitorSamuli Thomasson
Available memory is determined from meminfo's `MemAvailable:` on 3.14 and newer, and falls back to `free + buffer + cache` on older systems. Introduces new variables `<available{,ratio,bar,vbar,ipat}>`.
2014-09-24Rename dynamic string to icon patternAlexander Shabalin
2014-09-14Implement DynamicString for Monitors supporting vbar.Alexander Shabalin
* Batt * Bright * Cpu * Disk * MPD * Mem * MultiCpu * Net * Volume * Wireless
2014-08-09hlint refactoringsReto Hablützel
2014-03-15showVerticalBar now takes the same arguments as showPercentBarEric Mrak
2014-03-14Memory monitor has freevbar and usedvbarEric Mrak
2014-02-04Use MemAvailable from meminfo if possibleBen Boeckel
Use the functionality from newer kernels if available. Basically, the free+buffer+cache metric is a massive hack and not accurate anyways (e.g., not all cache can be swapped out and kernel accounting can change whenever). Kernels 3.14 and newer have MemAvailable in meminfo which is more accurate; use it if possible.
2014-02-04Parse out fields from /proc/meminfoBen Boeckel
Newer kernels have changed the order of the lines in the /proc/meminfo find (MemAvailable is now line 3). To support this and older kernels, use the key from the map when getting data from it rather than static line numbers.
2013-10-27New N/A string monitor option (cf. #119)Jose Antonio Ortega Ruiz
2013-03-18Introduce <freeratio> variable into the memory monitor.Peter Simons
2010-12-21Haskell sources moved to src/ to unclutter toplevelJose Antonio Ortega Ruiz