Skip to main content
CpuInfo.times - os - Node documentation
property CpuInfo.times

Usage in Deno

import { type CpuInfo } from "node:os";

Properties

user: number

The number of milliseconds the CPU has spent in user mode.

nice: number

The number of milliseconds the CPU has spent in nice mode.

sys: number

The number of milliseconds the CPU has spent in sys mode.

idle: number

The number of milliseconds the CPU has spent in idle mode.

irq: number

The number of milliseconds the CPU has spent in irq mode.

Back to top