User Tools

Site Tools


uname

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uname [2006/07/11 04:57] (current)
Line 1: Line 1:
 +# $EPIC: uname.txt,v 1.1.1.1 2006/07/11 04:57:43 jnelson Exp $
 +======Synopsis:​======
 +$__uname__(<​description>​)
 +
 +======Technical:​======
 +This function returns system information about the machine on which EPIC
 +is running, similar to the uname(2) system call.
 +
 +======Returns:​======
 +the string <​description>​ parsed according to the following table:
 +
 +
 +^   Any instance of     ^will be replaced with                  ^
 +|   ​%m ​                 |The "​machine"​ (architecture) ​   |
 +|   ​%n ​                 |The "​Node"​ (hostname) ​   |
 +|   ​%r ​                 |The "​Release"​ of the operating system ​   |
 +|   ​%s ​                 |The "​Name"​ of the operating system ​   |
 +|   ​%v ​                 |The "​Version"​ of the operating system ​   |
 +|   ​%a ​                 |The logical value of "%s %n %r %v %m" ​   |
 +|   ​%% ​                 |A single %    |
 +
 +======Examples:​======
 +$uname(This machine (%n) is a %m running %s %r) \\
 + in one case could return: \\
 +This machine (paradigm) is a i686 running Linux 2.2.0
 +
  
uname.txt ยท Last modified: 2006/07/11 04:57 (external edit)