ses4
Scsi enclosure services
Usage
ses* at scsibus?
Overview
The ses driver provides support for monitoring the various environmental sensors present in SCSI enclosures using the SCSI Enclosure Services command set. The hardware monitoring is accessed via the hw.sensors sysctl(8) variable.
SCSI devices have a fairly high level interface to the system and talk to it via a SCSI host adapter (e.g. ahc(4)). A SCSI adapter must also be separately configured into the system before a SCSI enclosure can be configured.
When the SCSI adapter is probed during boot, the SCSI bus is scanned for devices. Any SCSI-2 devices of type “Enclosure service” or SCSI-3 devices of type “Processor” will be attached to the ses driver.
SES compliant devices can provide an arbitrary set of sensors which may include the following types:
| Sensor | Units | Typical Use |
| temp | uK | temperature |
| fan | RPM | fan |
| psu | On/Off | power supply |
| doorlock | On/Off | door lock |
| alarm | On/Off | enclosure alarm |
Sensor data is updated every 10 seconds.
Releases
55 releases since OpenBSD 2.7; the text changed 11 times.