Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Dec 14 '10 at 5:49

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

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 at 3:48
add comment

4 Answers 4

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
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 Jan 28 '11 at 18:31
    
@sblair It doesn't because areal density varies. It does affect read latency. –  David Schwartz Jan 8 at 3:54
add comment
# hdparm -I /dev/sda | grep Rotation

Nominal Media Rotation Rate: 7200

share|improve this answer
add comment

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
add comment

For a noob friendly version of this you can find it at http://vpstip.com/how-to-check-disk-speed-easily-in-linux/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.