CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Find the number of blocks in proc diskstats file

 



haavard82
New User

Nov 13, 2011, 6:21 AM

Post #1 of 1 (279 views)
Find the number of blocks in proc diskstats file Can't Post

Hello,

I'm writing a perl script that reads the /proc/diskstats file and it's supposed to calculate how many blocks per second is written to the harddisk.

I just can't figure how to do the calculations. I have read the documentation file for /proc/diskstats but still can't figure it out.

SHould I look at the number of sectors, writes merged, completed writes, or what?

I hope someone has got some pointers for me, because I'm stuck :(

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives