Monitoring floppy disk access - linux
Joe Oppegaard
joe at joppegaard.com
Wed Jun 5 16:34:45 CDT 2002
On Wed, 5 Jun 2002, Tom Phoenix wrote:
> I can't figure out why you'd want such a thing. But I'm not just saying
> that; it has a direct bearing on what you really want: Do you want to know
> what percentage of the time the disk is spinning, how many hours (or
> rotations) a particular diskette or drive motor has turned, how many
> sector reads have happened altogether or in the last hour or since
> mounting, or something else?
>
> You may be able to get something like what you want with lsof, but you're
> probably talking about something that you could only get by hacking into
> the floppy drivers (or something equally low-level). That is to say, if
> you need to know about something that depends upon whether or not the
> cache was read or not, something at the caching level is going to be
> needed, of course. But something tells me that you already thought of
> that.
>
> Hm. There seeems to be something of an echo in here. Or something. :-)
Agh! That messed with my eyes. ;) I actually wanted to monitor how many
hours a drive has been used, but it's not too important. Probably be
more effort then it is worth.
--
-Joe Oppegaard
360.910.1970
http://joppegaard.com
TIMTOWTDI
More information about the Pdx-pm-list
mailing list