Re: New system monitor extension



On Sat, 2011-05-21 at 14:17 +0200, Florian Mounier wrote:
> Hi !
> I wrote a gnome shell extension displaying memory / swap / cpu usage
> in status bar.
> My code is far from perfect but I thought it might interest some of
> you.
> Code is available
> here: http://github.com/paradoxxxzero/gnome-shell-system-monitor-applet
> Any feedback is welcome.

Cool extension.

Have you considered reading /proc/meminfo instead of calling 'free -m'
and reading /proc/stat instead of calling 'cat /proc/stat'?

It might be more efficient to use Gio to read these files directly
instead of spawing commands.

John




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]