George Baugh ba4d607262 more flavor for the readme | пре 2 година | |
---|---|---|
.gitignore | пре 2 година | |
README.md | пре 2 година | |
dashboard.json | пре 2 година | |
example.jpg | пре 2 година | |
gather_rss.sh | пре 2 година | |
mem.sql | пре 2 година |
An sqlite database populated by cron, ps and awk
Made easy with writable views
Designed to be loaded into grafana (see the .json files herein) and filtered easily by process name via dashboard variables
Uses a recursive CTE to get around unhelpful var interpolation in the sqlite data source (see here)
Pic related
Plop the contents into /opt/memmon
add a crontab entry to run it (I do every minute like so):
* * * * * /opt/memmon/gather_rss.sh