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

  • plugin_meminfo.txt
  • Last modified: 2020/07/17 18:33
  • (external edit)