Re: New system monitor extension
- From: John Stowers <john stowers lists gmail com>
- To: Florian Mounier <paradoxxx zero gmail com>
- Cc: gnome-shell-list gnome org
- Subject: Re: New system monitor extension
- Date: Sun, 22 May 2011 13:02:59 +1200
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]