Skip to content

plugin_uname

Alejandro Mora edited this page Mar 9, 2026 · 1 revision

uname plugin

This plugin provides an interface to the uname() system call.


Functions

uname(f) call uname() and return field

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
}

Clone this wiki locally