Results 1 to 10 of 10
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 ...
- 12-14-2010 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 1
How To Find Hard Disk (RPM) speed
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.
- 12-14-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
I'm not sure you can. At least I'm not aware of any way to test for the rotational speed of a drive. I looked and so far have come up empty handed.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-14-2010 #3
At least it's possible to get some fodder for google:
Like this:
Code:# find /sys/ -type f -name "model" /sys/devices/pci0000:00/0000:00:0b.0/host0/target0:0:0/0:0:0:0/model /sys/module/snd_hda_intel/parameters/model #cat /sys/devices/pci0000:00/0000:00:0b.0/host0/target0:0:0/0:0:0:0/model HITACHI HTS54502
You must always face the curtain with a bow.
- 12-14-2010 #4
Like ithori says, You can run lshw as root and get the model number of hardrive and google the rpm specs.
Edit. Mine is 7200 rpmdescription: ATA Disk
product: ST380815AS
vendor: Seagate
ST380815AS Barracuda 7200.10 SATA 3.0Gb/s 80-GB Hard Drive | SeagateLinux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 12-14-2010 #5
- 12-14-2010 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-14-2010 #7Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
BTW, does anyone know if there is a command-line means of doing a google search? That would be kewl so you could get the results of a search to use in a shell or other script.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-14-2010 #8Hmm, my machines are in dublin, I am in munich.Yeah. Myself, I use the "open case, remove drive, read label on drive" approach. Doesn't work well with a shell script though...
Let's see what my manager says if I want to travel there to look at a disc :P
More seriously:
If the disks are connected to a (decent) raidcontroller with userland tools,
it is possible to get about any information about the disks from them.You must always face the curtain with a bow.
- 12-14-2010 #9Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Ok. I installed and ran lshw and lshw -short. One can certainly get the make+model information that way, as well as file system info of sorts. Unfortunately, there is nothing about rotational speed and such.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-14-2010 #10
Another way to find the model:
Code:# smartctl -i /dev/sda smartctl 5.40 2010-03-16 r3077 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Device Model: HITACHI HTS545025B9A300 Serial Number: 091028PB42041SH15Z1G Firmware Version: PB2ZC61H User Capacity: 250.059.350.016 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 6 Local Time is: Tue Dec 14 20:59:03 2010 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled
You must always face the curtain with a bow.


Reply With Quote
