LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2006, 08:31 AM   #1
benchmarkman
LQ Newbie
 
Registered: Feb 2006
Posts: 18

Rep: Reputation: 0
Linux /proc diskstats question


I'm working on a project for school that has to get the disk reads and writes for my harddrive. I'm using Mandriva 2006 and reading the 'sda' device and it works fine on my machine at home but not on the computer in my schools linux lab where I have to give my report. I've read that 'sda' is for serial drives and 'hda is for pata drives. I'm using a pata drive but I'm getting correct stats for my drive when reading 'sda'. Why is that? Also is there a line in the diskstats file that gives totals for all hard drives? Thanks
 
Old 02-13-2006, 04:13 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
I'm using a pata drive but I'm getting correct stats for my drive when reading 'sda'.
You shouldn't be. Is this a standard IDE drive? Is it hooked up by USB? Is this on your home computer or the schools?

Quote:
Also is there a line in the diskstats file that gives totals for all hard drives?
No. Is there some reason you cannot simply add the figures?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Interpreting /proc/diskstats rajesht SUSE / openSUSE 8 02-25-2014 03:10 PM
/proc/pci question FourierXForm Slackware 3 01-05-2006 08:09 PM
devpts & proc question irfanhab Linux - General 2 05-24-2004 11:46 AM
Question about /proc/net/devc alitrix Linux - Networking 0 02-23-2004 01:29 PM
dual proc xp/RH7.2 question den4 Linux - Newbie 3 08-20-2002 12:35 PM


All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration