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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

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


New User

Nov 13, 2011, 6:21 AM

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


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