table of contents
lsm_disk_rpm_get(3) | Libstoragemgmt C API Manual | lsm_disk_rpm_get(3) |
NAME¶
lsm_disk_rpm_get - Retrieves the rotation speed for the disk.
SYNOPSIS¶
int32_t lsm_disk_rpm_get (lsm_disk *d);
ARGUMENTS¶
- d
- Disk to retrieve rotation speed for.
VERSION¶
1.3
DESCRIPTION¶
Retrieves the disk rotation speed - revolutions per minute(RPM).
CAPABILITY¶
LSM_CAP_DISK_RPM
RETURN¶
int32_t. Disk rotation speed. Possible values:
* >1
Normal rotational disk.
* LSM_DISK_RPM_NO_SUPPORT
Not supported by plugin.
* LSM_DISK_RPM_NON_ROTATING_MEDIUM
Non-rotating medium (e.g., SSD).
* LSM_DISK_RPM_ROTATING_UNKNOWN_SPEED
Rotational disk with unknown speed.
* LSM_DISK_RPM_UNKNOWN
Bug or invalid argument or not supported.
lsm_disk_rpm_get | January 2023 |