8

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

  • 4
    This link might help you :: cyberciti.biz/faq/linux-find-hard-drive-model-rpm-speed – 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
  • 1
    Just one question: Why? – Daniel R Hicks Jan 8 '14 at 3:48
13
# hdparm -I /dev/sda | grep Rotation

Nominal Media Rotation Rate: 7200

| improve this answer | |
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?

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

From here: hdparm -tT /dev/sdx.

| 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 'SO- stop being evil' Dec 15 '10 at 0:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy