lcd4linux:plugin_meminfo
Inhaltsverzeichnis
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
}
lcd4linux/plugin_meminfo.txt · Zuletzt geändert: 2022/02/15 20:09 von 127.0.0.1
