meminfo plugin

This plugin provides an interface to the /proc/meminfo file.


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.


Widget RAM {
    class  'Text'
    expression meminfo('MemTotal')/1024
    postfix ' MB RAM'	
    width  11
    precision 0
    align  'R'
    update 0

Last modified 10 years ago Last modified on 10/30/08 09:38:14