Skip to content

System Info

Provides information about the system.

Outputs#

Port Description
Platform String
The platform string. Either windows, macos, or linux.
Platform Index
The platform index. 0 for Windows, 1 for MacOS, and 2 for Linux.
Windows (0)
true if the platform is Windows.
MacOS (1)
true if the platform is MacOS.
Linux (2)
true if the platform is Linux.
Arch String
The architecture string. Either x64 or arm64.
Arch Index
The architecture index. 0 for x64 and 1 for arm64.
x64 (0)
true if the architecture is x64.
Arm64 (1)
true if the architecture is arm64.
Cpu Count
Returns the number of logical CPUs usable by the current process. The set of available CPUs is checked by querying the operating system at process startup. Changes to operating system CPU allocation after process startup are not reflected.

ID: system-info@v1