Module dagon.core.sysinfo

Provides information about hardware and operating system.

Description

The dagon.core.sysinfo module provides a cross-platform way to query system information, such as CPU architecture, RAM size, and operating system name.

Functions

NameDescription
sysInfo(info) sysInfo works on Windows, Unix/sysconf (Linux-like) and Unix/sysctl (BSD-like) systems. Under other systems it returns false, meaning that it's not possible to retrieve system information.

Structs

NameDescription
SysInfo System information structure.

Enums

NameDescription
ProcessorArchitecture CPU architectures enumeration. Note that Dagon doesn't necessarily support all of them; the primary target is x64.