meminfo plugin
This plugin provides an interface to the /proc/meminfo file.
Functions
meminfo(key) | parse /proc/meminfo and return the value of <key> |
The 'key' parameter does not have any fixed values, but is taken as a search key into the /proc/meminfo file. Common keys are '!MemTotal' or '!MemFree'. Do a 'cat /proc/meminfo' to see which values are available on your system.
Example
Widget RAM { class 'Text' expression meminfo('MemTotal')/1024 postfix ' MB RAM' width 11 precision 0 align 'R' update 0 }