lsm_disk_rpm_get - Man Page

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.

Info

December 2020 Libstoragemgmt C API Manual