node-system-stats

node-system-stats / Exports / IOptsInput

Interface: IOptsInput

Table of contents

Properties

Properties

coreIndex

Optional coreIndex: number

The index of the core to calculate the usage on. Can use any integer coreIndex such that 0 >= coreIndex < memStat.totalCores()

Default

-1 (all cores)

Defined in

src/types/types.d.ts:8


sampleMs

Optional sampleMs: number

sampleMs is the amount of time to take till the measurement is over.

Default

1000 yes

Defined in

src/types/types.d.ts:14