Up

osInfos

Returns some informations about the operating system

Prototype :

fun [] [S S S S]

Return : [S S S S]

Error :

See also :

getUserName

memoryInfos

powerInfos

Examples :

Example MS Windows :

_fooS sprintf "OS : %s\nService pack : %s\nBuild number : %s\nArchitecture : %s\n" osInfos;

Console :

OS : Microsoft Windows Seven
Service pack :
Build number : 7600
Architecture : 32-bit

Example GNU/Linux :

_fooS sprintf "OS : %s\nKernel :%s\nDistribution : %s\nArchitecture : %s\n" osInfos;

Console :

OS : Linux
Kernel : 2.6.32-34-generic
Distribution : #76-Ubuntu SMP Tue Aug 30 16:19:34 UTC 2011
Architecture : i686