Deadline Scripting Reference
10.1.23.6
|
System utility functions. More...
Static Public Member Functions | |
static long | GetAvailableRam () |
Gets the system's available memory. More... | |
static int | GetCpuCount () |
Gets the system's CPU count. More... | |
static string | GetRegistryKeyValue (string keyName, string valueName, string defaultValue) |
Gets a value from the system's registry (Windows only). More... | |
static long | GetTotalRam () |
Gets the system's total memory. More... | |
static long | GetUsedRam () |
Gets the system's memory that is currently in use. More... | |
static bool | Is64Bit () |
Checks if the system is 64 bit. More... | |
static bool | IsRunningOnLinux () |
Checks if the system is Linux. More... | |
static bool | IsRunningOnMac () |
Checks if the system is Mac OSX. More... | |
static bool | IsRunningOnWindows () |
Checks if the system is Windows. More... | |
static void | Sleep (int milliseconds) |
Sleep for the specified time. More... | |
System utility functions.
|
static |
Gets the system's available memory.
|
static |
Gets the system's CPU count.
|
static |
Gets a value from the system's registry (Windows only).
keyName | The registry key name. |
valueName | The value name. |
defaultValue | The default value if the key or value doesn't exist. |
|
static |
Gets the system's total memory.
|
static |
Gets the system's memory that is currently in use.
|
static |
Checks if the system is 64 bit.
|
static |
Checks if the system is Linux.
|
static |
Checks if the system is Mac OSX.
|
static |
Checks if the system is Windows.
|
static |
Sleep for the specified time.
milliseconds | The time to sleep, in milliseconds. |