• Get the Systems CPU Usage

    Parameters

    • captureTime: number = 250

    Returns Promise<number>

    Example

    import { system } from "@rjweb/utils"

    await system.cpu() // 3.76

    Since

    1.3.1

    Supports

    nodejs

    Default

    captureTime = 250