osquery-1/specs/darwin/temperature_sensors.table
2017-05-23 09:15:34 -07:00

11 lines
425 B
Plaintext

table_name("temperature_sensors")
description("Machine's temperature sensors.")
schema([
Column("key", TEXT, "The SMC key on OS X", index=True),
Column("name", TEXT, "Name of temperature source"),
Column("celsius", DOUBLE, "Temperature in Celsius"),
Column("fahrenheit", DOUBLE, "Temperature in Fahrenheit"),
ForeignKey(column="key", table="smc_keys"),
])
implementation("smc_keys@genTemperatureSensors")