Illume cpu gadget?

Nicola Mfb nicola.mfb at gmail.com
Tue Jul 14 15:39:26 CEST 2009


On Tue, Jul 14, 2009 at 3:11 PM, Michal Brzozowski<rusolis at poczta.fm> wrote:
> What's the best way to get the CPU usage from command line?

:) It's good that the literki author is interested in this, is he
insterested in coding some nice xshape applet ? :))))

To get CPU usage you may use /proc/stat while for memory usage
/proc/memstat, you may grab some snippets from:

http://svn.o-hand.com/view/matchbox/trunk/matchbox-panel/applets/mb-applet-system-monitor.c?rev=1307&view=markup

Regards

    Nicola



More information about the community mailing list