Hi,
just as a curiosity (or maybe not...) i was wondering what would be the
easiest way to get rough estimate of the number of keypress and mouse
movements i do.
It appears that vmstat -i already gives some estimate for the
keyboard, e.g. ordinary keys give a couple of interrupts (on
press/release), but whenever the autorepeat starts I get some 18
int/s and thus the data is extremely noisy.
Is there a way to get 'true' keypress counts in the "sc" driver, and
especially log this info into syslog when the system is shut down ?
Same problems for mouse movements, except perhaps that i can hook into
moused and so the problem is a little bit easier to deal with.
cheers
luigi
-----------------------------------+-------------------------------------
Luigi RIZZO, [EMAIL PROTECTED] . Dip. di Ing. dell'Informazione
http://www.iet.unipi.it/~luigi/ . Universita` di Pisa
TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy)
http://www.iet.unipi.it/~luigi/ngc99/
==== First International Workshop on Networked Group Communication ====
-----------------------------------+-------------------------------------
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message