anyway to log ext4 disk access ?

Bryn M. Reeves bmr at redhat.com
Mon Mar 12 14:49:16 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/12/2012 02:28 PM, Aaron Gray wrote:
> On 12 March 2012 11:49, Bryn M. Reeves <bmr at redhat.com> wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> On 03/11/2012 10:59 PM, Aaron Gray wrote:
>>> I am wondering if there is anyway to log whats gong on on a
>>> ext4 disk ?
>>> 
>>> Many thanks in advance,
>> 
>> You could use systemtap or blktrace. What kinds of events are
>> you interested in and how do you want to log them?
>> 
> 
> I seem to be experiencing constant disk accesses on a new install
> on F16 and am wondering why and what they are basically.

I'd check out blktrace in that case. Try it out with some of the
examples from the docs as these give a very broad overview of I/O and
what is generating it. If you need to you can then use that
information as a basis for drilling down to get more detail.

http://gelato.org/pdf/apr2006/gelato_ICE06apr_blktrace_brunelle_hp.pdf
http://www.cse.unsw.edu.au/~aaronc/iosched/doc/blktrace.html
https://github.com/znmeb/linux_perf_viz/wiki/Blktrace-Howto

Regards,
Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9eDOwACgkQ6YSQoMYUY95AjACgxUKx1oZfrgrVpWLaT10rHw7Y
tfMAoKHNFsZ6+aOnGflaEwrKLJ9iXBLR
=m2mt
-----END PGP SIGNATURE-----


More information about the users mailing list