circu.js
    Preparing search index...

    Interface SystemInfo

    System info (uname result)

    interface SystemInfo {
        machine: string;
        release: string;
        sysname: string;
        version: string;
    }
    Index

    Properties

    machine: string

    Machine hardware architecture

    • 'x86_64' / 'ia64' / 'i386'~'i686' / 'mips' / 'alpha' / 'powerpc' / 'sh' / 'arm' / 'unknown'
    • Linux/macOS may also be 'aarch64', 'arm64', etc.
    release: string

    Kernel version

    • Windows: '{major}.{minor}.{build}' (e.g., '10.0.19041')
    • Linux: Kernel version string (e.g., '5.10.0-21-amd64')
    • macOS: Darwin kernel version (e.g., '21.6.0')
    sysname: string

    OS name

    • Windows (MSVC): 'Windows_NT'
    • Windows (MinGW): 'MINGW32_NT-{major}.{minor}'
    • Linux: 'Linux'
    • macOS: 'Darwin'
    version: string

    Version/distribution info

    • Windows: Registry ProductName (e.g., 'Windows 10 Pro', 'Windows 11 Home'), Build >= 22000 auto-corrects "Windows 10" to "Windows 11"; may include Service Pack
    • Linux: #version SMP ... format kernel build info
    • macOS: 'Mac OS X 12.x' or similar