To find the SATA link speed of a hard disk on a Linux system, you can use the hdparm
command. hdparm
is a utility that is used to configure and retrieve information about hard disks.
Here's an example of how to use hdparm
to find the SATA link speed of a hard disk:
$ hdparm -I /dev/sdX
Replace /dev/sdX
with the device name of the hard disk. The device name of a hard disk will typically be in the form of /dev/sdX
, where X
is a letter representing the device (e.g., sda
, sdb
, etc.).
This will display detailed information about the hard disk, including its SATA link speed.
For example, the output might include a line similar to this:
SATA revision number: 3.0
This indicates that the hard disk is connected using SATA 3.0, which has a link speed of 6.0 Gbps.
Note: The specific options and syntax for the
hdparm
command may vary depending on your Linux distribution and version. Consult thehdparm
man page or documentation for your system for more information.
It's also worth noting that the SATA link speed of a hard disk may not always be the same as the maximum data transfer rate of the disk. The data transfer rate of a hard disk is typically limited by other factors, such as the rotational speed of the disk, the number of platters and heads, and the architecture of the disk controller.