Date: Mon, 16 Jun 2003 11:35:25 -0700 From: George Hartzell <hartzell@kestrel.alerce.com> To: freebsd-questions@freebsd.org Subject: Using kevent to catch laptop disk I/O culprit? Message-ID: <16110.3565.71625.373384@rosebud.alerce.com>
next in thread | raw e-mail | index | archive | help
I'm working on keeping my laptop disk spun down and am using the process of elimination to figure out who's always spinning up the disk. So far, I've put /tmp on an mfs, and I just installed Robert Sexton's hw.ata.suspend patch from the freebsd-mobile archives. I'm slowly killing off and/or fine tuning various daemons to see if they're responsible for all of the IO, and it occured to me that the kevent/kqueue stuff might be a great way to actually see who's writing what, when. Has anyone written the necessary parts to get this kind of a simple filesystem trace? g.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16110.3565.71625.373384>