Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2009 12:59:08 -0800
From:      Nerius Landys <nlandys@gmail.com>
To:        questions@freebsd.org
Subject:   Measuring disk I/O
Message-ID:  <560f92640911181259m37d2659w775fa3fafd9499b6@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
A friend and I are working on a small video-game related project as a
hobby.  We're running several scripts 24/7 that make lots of calls to
a MySQL database.  The mysql server process shows an average CPU use
of 1% (reported by top) and it never goes above about 2%  The tables
it's hitting are myisam tables.  I'm a little bit worried that the
mysql process is using a lot of disk access.  I don't know too much
about hard disks but my feeling is that too much disk use could slow
the machine down or cause a premature hard disk failure.  WD Raptor
model.

I don't know if my concerns are well-founded, but I would like to
measure impact on the hard disk somehow.  I don't know how to see disk
I/O.  I do know how to use top.  How do I measure disk I/O?  Any other
thoughts?



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?560f92640911181259m37d2659w775fa3fafd9499b6>