Interface SystemInfo
access this type via: os.SystemInfo (provides, requires or uses)
Get basic information about the host operating system and physical machine.
Functions
char[] getPlatformName()
char[] getPlatformVersion()
char[] getHostName()
char[] getVariable(char name[])
char[] getSystemFont(bool monospaced)
char[] getChipName()
int getCoreCount()
int getMemorySize()
char[] getPlatformName()
Get the operating system name.
char[] getPlatformVersion()
Get the operating system version.
char[] getHostName()
Get the OS 'host name' (the computer's name).
char[] getVariable(char name[])
Get the value of an environment variable.
char[] getSystemFont(bool monospaced)
Get the default Dana font (regular or monospaced) for graphical user interfaces.
char[] getChipName()
Get the 'chip' name of the host machine's CPU, e.g. x86 or x64.
int getCoreCount()
Get the total number of apparent CPU cores that the host machine has, including logical cores. Note that if Dana is running in a container or virtual machine, the value returned here may be different than the host's actual core count.
int getMemorySize()
Get the total amount of apparent main memory that the host machine has, in megabytes. Note that if Dana is running in a container or virtual machine, the value returned here may be different than the host's actual main memory size.