How To Find Hard Disk (RPM) speed

6

2

How do I check my hard disk Revolutions Per Minute (RPM) speed from a Linux shell prompt without opening my server case? any other third party utility please let me know.

I referenced some other articles. they give only model number, serial number and disk space, but I need Hard disk RPM speed using shell script. any other Java program

Saran

Posted 2010-12-14T05:32:22.557

Reputation:

4

This link might help you :: http://www.cyberciti.biz/faq/linux-find-hard-drive-model-rpm-speed/

– None – 2010-12-14T05:33:59.193

I suggest smartctl to determine the hard disk make and model, and from there, Google. Also, why are we answering in the comments? – Slartibartfast – 2010-12-14T06:13:32.617

@Slartibartfast, because some comments may not be an answer but a suggestion, they can always be moved to an answer so they can be accepted as so. He did say this "might" help. I do this when I am guessing at a solution and don't know for sure. Keeps the answer list short and the topic cleaned up. – Moab – 2010-12-14T16:31:34.750

1Just one question: Why? – Daniel R Hicks – 2014-01-08T03:48:19.843

Answers

10

# hdparm -I /dev/sda | grep Rotation

Nominal Media Rotation Rate: 7200

Hello71

Posted 2010-12-14T05:32:22.557

Reputation: 7 636

3

If you want to know the disk's actual RPM, analyze the sound. An X rpm drive will have a noise peak at (X/60) Hz.

Seriously, I don't think that any of the usual disk information reports include an rpm figure. So your best bet would be to obtain the disk vendor and model (e.g. from /sys/block/sda/device/model) and look it up.

The rpm figure is pretty useless, though. Are you sure that's what you're after? What are you trying to achieve?

Gilles 'SO- stop being evil'

Posted 2010-12-14T05:32:22.557

Reputation: 58 319

Nice idea, but why do you say that the rpm value is useless? Surely it will significantly affect the both the random and sequential read/write performance of the drive? – sblair – 2011-01-28T00:37:59.033

1@sblair: If you want performance indications, run a benchmark. Rpm is just one of many factors in performance, what decision would you take on the basis of rpm? – Gilles 'SO- stop being evil' – 2011-01-28T18:31:45.450

@sblair It doesn't because areal density varies. It does affect read latency. – David Schwartz – 2014-01-08T03:54:02.203

0

From here: hdparm -tT /dev/sdx.

fideli

Posted 2010-12-14T05:32:22.557

Reputation: 13 618

This doesn't show rpm, it shows semi-meaningful disk read timings. (But this may be what Saran is in fact after.) – Gilles 'SO- stop being evil' – 2010-12-15T00:31:20.827