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

Last modified 14 years ago Last modified on 04/03/05 09:35:55