LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-19-2013, 03:12 AM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
Determine which device to monitor in /proc/diskstats


/proc/diskstats for 2.6 kernels displays the number of sectors written to a sd? device. I never have more than 1 flash drive thus sdc1 and sdc are shown then sdd & sdd1, etc.
Is sdX a summation of all sdX# drives? From what I have seen so far they are nearly mirrors of each other tho some items are way different.
Can someone explain the purpose for the pairing?
Which one represents the true number of sectors written?
It would seem that sdX# would be representing the flash drive.

Last edited by waddles; 09-19-2013 at 03:20 AM.
 
Old 09-19-2013, 05:09 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Quote:
It would seem that sdX# would be representing the flash drive.
It seems to me,

that sdX# would be representing a partition of the flash drive
 
1 members found this post helpful.
Old 09-19-2013, 06:17 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,485

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
"man proc" has a entry for diskstats that directs you to
Quote:
See the kernel source file Documentation/iostats.txt for further information.
If you don't have a local copy of the kernel source, see here for all the gory details.
 
2 members found this post helpful.
  


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/Novell 8 02-25-2014 03:10 PM
Can we reset /proc/diskstats in linux sellerb5 Linux - General 1 09-14-2013 07:58 AM
Bug related to /proc/diskstats at 2.6.32? richa03 Linux - Server 1 07-30-2013 01:18 PM
/proc/diskstats and xinetd services vhcg Linux - Newbie 2 03-15-2008 02:11 AM
Linux /proc diskstats question benchmarkman Linux - Newbie 1 02-13-2006 04:13 PM


All times are GMT -5. The time now is 06:38 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration