uname plugin

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

uname(f)call uname() and return field <f>

The 'field' can have the following values:

sysnameoperating system
nodenamenetwork node hostname
releasekernel release
versionkernel version
machinemachine hardware name
domainnameNIS or YP domain name

see uname(1) and uname(2) for details.

Widget CPU {
    class  'Text'
    expression  uname('machine')
    prefix 'CPU '
    width  9
    align  'L'
    update 0

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