1lsm_disk_rpm_get(3) Libstoragemgmt C API Manual lsm_disk_rpm_get(3)
2
3
4
6 lsm_disk_rpm_get - Retrieves the rotation speed for the disk.
7
9 int32_t lsm_disk_rpm_get (lsm_disk *d);
10
12 d Disk to retrieve rotation speed for.
13
15 1.3
16
18 Retrieves the disk rotation speed - revolutions per minute(RPM).
19
21 LSM_CAP_DISK_RPM
22
24 int32_t. Disk rotation speed. Possible values:
25 * >1
26 Normal rotational disk.
27 * LSM_DISK_RPM_NO_SUPPORT
28 Not supported by plugin.
29 * LSM_DISK_RPM_NON_ROTATING_MEDIUM
30 Non-rotating medium (e.g., SSD).
31 * LSM_DISK_RPM_ROTATING_UNKNOWN_SPEED
32 Rotational disk with unknown speed.
33 * LSM_DISK_RPM_UNKNOWN
34 Bug or invalid argument or not supported.
35
36
37
38November 2021 lsm_disk_rpm_get lsm_disk_rpm_get(3)