lcd4linux:plugin_uname
Inhaltsverzeichnis
uname plugin
This plugin provides an interface to the uname() system call.
Functions
| uname(f) | call uname() and return field <f> |
The 'field' can have the following values:
| sysname | operating system |
| nodename | network node hostname |
| release | kernel release |
| version | kernel version |
| machine | machine hardware name |
| domainname | NIS or YP domain name |
see uname(1) and uname(2) for details.
Example
Widget CPU {
class 'Text'
expression uname('machine')
prefix 'CPU '
width 9
align 'L'
update 0
}
lcd4linux/plugin_uname.txt · Zuletzt geändert: 2022/02/15 20:09 von 127.0.0.1
