node-system-stats / Exports / IOptsInput
• 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)
src/types/types.d.ts:8
• Optional
sampleMs: number
sampleMs
is the amount of time to take till the measurement is over.
Default
1000 yes
src/types/types.d.ts:14