Skip to content

@tavora/sdk / SystemSnapshot

Interface: SystemSnapshot ​

Defined in: packages/sdk/src/protocol.ts:316

How busy this PC is, as the system-info connector reports it. Only the parts the panel asked for in systemInfo.watch are there. Percentages run from 0 to 100 with one decimal.

Properties ​

at ​

at: number

Defined in: packages/sdk/src/protocol.ts:318

When it was taken (milliseconds since 1970).


connection? ​

optional connection?: SystemConnection

Defined in: packages/sdk/src/protocol.ts:360

The connection as of its last check (every 5 seconds), when the panel asked for it. Tavora 0.21.22 and newer.


cpu? ​

optional cpu?: object

Defined in: packages/sdk/src/protocol.ts:321

cores ​

cores: number[]

The average of each logical processor, in order.

peak ​

peak: number

The busiest second since the last snapshot. The same as usage for intervals under 5 seconds.

usage ​

usage: number

The average since the last snapshot, as Task Manager shows it.


drives? ​

optional drives?: object[]

Defined in: packages/sdk/src/protocol.ts:347

connected ​

connected: boolean

False when the drive letter is gone, such as an unplugged USB stick; the rest is then null or 0.

freeBytes ​

freeBytes: number | null

id ​

id: string

One entry for each drive asked for, in that order.

readBytesPerSec ​

readBytesPerSec: number

totalBytes ​

totalBytes: number | null

writeBytesPerSec ​

writeBytesPerSec: number


gpus? ​

optional gpus?: object[]

Defined in: packages/sdk/src/protocol.ts:329

clockMhz? ​

optional clockMhz?: number | null

Graphics clock in whole MHz; the same cards and rules as temperatureC.

id ​

id: string

The id from SystemInfo.gpus.

peak ​

peak: number

powerW? ​

optional powerW?: number | null

Power the card draws in watts, with one decimal; the same cards and rules as temperatureC.

temperatureC? ​

optional temperatureC?: number | null

Temperature of the graphics chip in whole degrees Celsius. Only NVIDIA cards report it (Tavora 0.21.8 and newer); null for other cards or when the card doesn't say. Missing on older Tavora.

usage ​

usage: number

vramUsedBytes ​

vramUsedBytes: number | null

Video memory in use in bytes, or null when Windows doesn't say.


intervalMs ​

intervalMs: number

Defined in: packages/sdk/src/protocol.ts:320

The interval it was asked for.


ram? ​

optional ram?: object

Defined in: packages/sdk/src/protocol.ts:346

totalBytes ​

totalBytes: number

usedBytes ​

usedBytes: number


tavora? ​

optional tavora?: object

Defined in: packages/sdk/src/protocol.ts:358

Tavora's own use: cpu as a share of the whole PC, memoryBytes in working set.

cpu ​

cpu: number

memoryBytes ​

memoryBytes: number

For Tavora 0.23.9 and @tavora/sdk 0.3.3. Code under the MIT License. The Tavora name and logo are not covered by it.