Re: Illume cpu gadget?

2009-07-14 Thread Nicola Mfb
On Tue, Jul 14, 2009 at 4:09 PM, Michal Brzozowski wrote:
> 2009/7/14 Nicola Mfb 
> I was thinking more of the led blinking. Are you sure xshape applets are the
> right choice with illume?

I'm not sure at 100%, I contacted stalonetray author, he will ask to e-dev list.

Nicola

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Illume cpu gadget?

2009-07-14 Thread Michal Brzozowski
2009/7/14 Nicola Mfb 

> On Tue, Jul 14, 2009 at 3:11 PM, Michal Brzozowski
> 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 ? :


I was thinking more of the led blinking. Are you sure xshape applets are the
right choice with illume?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Illume cpu gadget?

2009-07-14 Thread Vincent MEURISSE
On Tuesday 14 July 2009 03:11:51 pm Michal Brzozowski wrote:
> What's the best way to get the CPU usage from command line?
I would go for "cat /proc/loadavg |cut -d' ' -f1"
It gives you the load for the last minute. It's not just cpu utilisation but 
is usually a better performance indicator than cpu usage.
-- 
Vincent MEURISSE

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Illume cpu gadget?

2009-07-14 Thread Nicola Mfb
On Tue, Jul 14, 2009 at 3:11 PM, Michal Brzozowski 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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Illume cpu gadget?

2009-07-14 Thread Michal Brzozowski
What's the best way to get the CPU usage from command line?

2009/7/14 Nicola Mfb 

> On Tue, Jul 14, 2009 at 8:11 AM, Michal Brzozowski
> wrote:
> > You can also use the AUX led. The faster it blinks the more CPU is used.
>
> Oh. it's broken after an AUX button repair :(, however I just tried to
> make my desktop trayable with docker, trayer and stalonetray, but it
> seems that Illume hates dock windows :(
> However there are some alternative, trying to compile the cpu shelf I
> found in E17 svn repository, or coding some mini override redirect
> window to place on the screen somewhere.
> I'm sorry I cannot learn another toolkit to code may shelfs, but would
> be very great if someone may show me how do it with XLib or
> alternative toolkits.
>
>Nicola
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Illume cpu gadget?

2009-07-14 Thread Nicola Mfb
On Tue, Jul 14, 2009 at 8:11 AM, Michal Brzozowski wrote:
> You can also use the AUX led. The faster it blinks the more CPU is used.

Oh. it's broken after an AUX button repair :(, however I just tried to
make my desktop trayable with docker, trayer and stalonetray, but it
seems that Illume hates dock windows :(
However there are some alternative, trying to compile the cpu shelf I
found in E17 svn repository, or coding some mini override redirect
window to place on the screen somewhere.
I'm sorry I cannot learn another toolkit to code may shelfs, but would
be very great if someone may show me how do it with XLib or
alternative toolkits.

Nicola

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Illume cpu gadget?

2009-07-13 Thread Michal Brzozowski
You can also use the AUX led. The faster it blinks the more CPU is used.

2009/7/14 Nicola Mfb 

> Does anyone know about an illume gadget showing cpu/swap usage?
> While using matchbox and the relative cpu applet I feel better my
> freerunner above all when it's slow to react :)
>
> Alternative solutions are welcome, for example a way to have a system
> tray with E (please do not hate me!), or a way to code a gadget with a
> different toolkit.
>
>Nicola
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Illume cpu gadget?

2009-07-13 Thread Nicola Mfb
Does anyone know about an illume gadget showing cpu/swap usage?
While using matchbox and the relative cpu applet I feel better my
freerunner above all when it's slow to react :)

Alternative solutions are welcome, for example a way to have a system
tray with E (please do not hate me!), or a way to code a gadget with a
different toolkit.

Nicola

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community