[Further-devel] CPU status plugin

From: Ed Lea (ed@cus.org.uk)
Date: Sat Jun 16 2001 - 13:26:20 PDT


Reply-To:
I finally got the chance to finish hacking a sort of CPU status plugin
for further this afternoon (me and Chris have been talking about it for
weeks). It's not great, but it seems to do the trick
without effecting the actual values its reporting on too much. It's a
simple linux hack that reads from /proc/stat every second and sees the
difference, reporting user and system cpu loads as percentages.

I just wanted to write a plugin with a sort of bar-graph in it. I've put
a screen shot here: http://www.jellybaby.net/~ed/further.jpg and the
code http://www.jellybaby.net/~ed/cpustats.tar.gz

As far as I know it's pretty stable and workable, the colours and things
may want some tweaking, but its sort of there. I may work on a BSD port
once I get my new hub so I can plug my FreeBSD box in somewhere.

-- 
Ed.

"Do you know, I think it is? I really think it might just be a crazy little thing called sarcasm seeping in at the edges of my manner of speech!"

_______________________________________________ Further-devel mailing list Further-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/further-devel



This archive was generated by hypermail 2.1.2 : Sun Nov 11 2001 - 14:16:15 PST