[Sugar-devel] [PATCH] Add cpu and memory resource indicator to frame

Bernie Innocenti bernie at codewiz.org
Thu Jul 29 17:59:52 EDT 2010


On Thu, 2010-07-29 at 01:12 +0530, anishmangal2002 wrote:
> This patch adds an icon to the frame, whose palette
> menu displays the memory and cpu resources. For computing
> free memory, the code reads the /proc/meminfo file (thanks
> quozl) and for computing cpu usage, the code reads the
> /proc/stat file.
> 
> The frame icon is updated after every 5 seconds if required.
> Similarly, the palette menu entries are updated after every
> 5 seconds as well.
> 
> Signed-off-by: anishmangal2002 <anishmangal2002 at gmail.com>

Merged in Dextrose, thanks.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/



More information about the Sugar-devel mailing list