Sunday, October 7, 2012

'gatotray', monitor CPU graphically from your system's tray


Notice to gatotray users!!!

The official gatotray home page is now at http://code.google.com/p/gatotray 
There you will be able to browse the code, download the latest version and request improvements.

gatotray screenshot'gatotray' is a colorful tray icon to watch over CPU status including usage, frequency and temperature.



  • Pseudo-logaritmic time scale: right-most columns reflect last seconds while lefter columns accumulate older measures, providing an idea of cpu usage evolution for up to 30 minutes in a glimpse. It makes a beautiful smoothing effect too.
  • Colors of the usage bars vary with frequency, from green to red.
  • Tooltip shows current usage percentage, frequency and temperature numerically.
  • Instant temperature is shown graphically, in the form of a nice thermometer :-). Thermometer blinks on high temperature (>=85 C).
  • Pops-up a 'top' window with detailed system usage (on click).
  • Preferences dialog allows customization of colors and options.
  • Transparent background (optional).
Screenshot:

Requeriments:
    • Linux.
    • GTK+ v2.10 or later.
    • Any freedesktop.org compliant system tray like that of XFCE, KDE, GNOME, etc.

Download:

Build & install instructions:
$ make
$ sudo make install
     (This will install in /usr/local/bin).

Python prototyping: During an early design stage, gatotray was coded in Python. This allowed me to code & debug interactively, specially useful while coding GTK+ events. Then converting from Python to C was pretty straightforward and the resulting application is very lightweight in resources and dependencies.

No comments:

Post a Comment