circu.js
    Preparing search index...

    Namespace CModuleOS

    OS module - System-level operations and information queries

    Wraps libuv syscalls for cross-platform capability. All operations are synchronous as underlying OS calls are sync.

    const os = import.meta.use('os');

    console.log('Platform:', os.platform);
    console.log('Hostname:', os.hostName);
    console.log('PID:', os.pid);
    console.log('Memory:', os.memoryUsage());

    Interfaces

    CpuInfo
    MemoryUsage
    NetworkInterface
    SystemInfo
    UserInfo

    Type Aliases

    HandleType
    LoadAverage

    Variables

    AF_INET
    AF_INET6
    AF_UNSPEC
    args
    cwd
    exePath
    homeDir
    hostName
    pid
    platform
    ppid
    STDERR_FILENO
    STDIN_FILENO
    STDOUT_FILENO
    tmpDir
    userInfo

    Functions

    availableParallelism
    chdir
    cpuInfo
    environ
    envKeys
    exit
    getenv
    guessHandle
    ipcPipe
    loadavg
    memoryUsage
    networkInterfaces
    random
    recvfd
    refHandleCount
    sendfd
    setenv
    sleep
    uname
    unsetenv
    uptime