Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from Dec 14 '10 at 5:49

This question came from our site for professional and enthusiast programmers.

This link might help you :: – ArunMu Dec 14 '10 at 5:33
I suggest smartctl to determine the hard disk make and model, and from there, Google. Also, why are we answering in the comments? – Slartibartfast Dec 14 '10 at 6:13
@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 Dec 14 '10 at 16:31
Just one question: Why? – Daniel R Hicks Jan 8 '14 at 3:48
# hdparm -I /dev/sda | grep Rotation

Nominal Media Rotation Rate: 7200

share|improve this answer

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?

share|improve this answer
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 Jan 28 '11 at 0:37
@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 Jan 28 '11 at 18:31
@sblair It doesn't because areal density varies. It does affect read latency. – David Schwartz Jan 8 '14 at 3:54

From here: hdparm -tT /dev/sdx.

share|improve this answer
This doesn't show rpm, it shows semi-meaningful disk read timings. (But this may be what Saran is in fact after.) – Gilles Dec 15 '10 at 0:31

You must log in to answer this question.