[plug] Monitoring Computer Usage (X)

Ben Jensz plug at jensz.id.au
Fri Feb 11 15:19:16 WST 2005


If you could figure out a script to read the data you could then feed it 
into something like Cacti (www.cacti.net) to graph and keep track of the 
data.

You can do lots of things with Cacti and you can use scripts to gather 
the data, rather than only being able to use SNMP queries.


/ Ben


Timothy White wrote:

> I am looking for a method to monitor my computer usage.
>
> In it's simplest form:
> while (Xidle<60s){
>    count_time();
> }
>
> count_time(){
>    update_time_today();
>    update_time_week();
>    update_time_month...
> }
> ---
> Something that can also produce more detailed usage reports would also
> be nice.
> e.g. 90% of mouse activity was during this hour while 80% keyboard
> activity was during this hour...
>
> Google and apt aren't finding anything and I can't find the supposed man
> pages for xlib so that I can see about programming my own.
>
> Tim
>




More information about the plug mailing list