Linux.com

Feature: Free Software

GKrellM: Geek eye-candy, monitors, and more

By Joe Barr on October 29, 2003 (8:00:00 AM)

Share    Print    Comments   

Bill Wilson's little "single process stack of system monitors" known as GKrellM has become so popular some refer to it (or just use it) as geek eye-candy rather than as the very nice performance monitoring tool that it is. In fact, GKrellM is so popular it may have more plugins than other projects have users. Actually, I think it's not so much that GKrellM has morphed itself into eye-candy so much as that since the very beginning it's been designed as a Swiss Army knife kind of utility.

Let's start by breaking down the name. The G is for GTK, or Gimp Toolkit. A krell is a unit of measurement used in the horizontal display of various measurements. If you were monitoring the amplifier in the movie Spinal Tap, for example, while it was running wide open, krells would be seen along the entire length of the meter. Finally, the M is for Monitor.

Reading the Changelog all the way back to the very first entries shows that GKrellM began life in July of 1999, when Bill Wilson ported an earlier xforms monitor program to Gtk/Imlib. Must have been a good job of porting, too, because Brian Almeida began packaging it for Debian (unstable) in August of that same year. That was version 0.6.3-1. It showed up on freshmeat.net that month, and it's been adding enthusiastic users, plug-ins, and themes ever since.

Red Hat 9.0 includes GKrellM version 2.1.5-3, but I found a more recent version on Matthias Saou's excellent RPM repository freshrpms.net. I grabbed a RH9-specific RPM for release 2.1.21-1 there and installed it. More and more these days, freshrpms.net is where I turn first for my Red Hat 9.0 RPMs.

The default configuration of GKrellM (shown below) gives you the following information: machine name, date, time, graphics CPU, proc and disk utilization, Ethernet activity, timer, memory and swap activity, and uptime. But that's just the beginning. The thing that makes GKrellM such a popular play-pretty with geeks is that it is almost infinitely configurable, extensible, and themeable.

Stock GKrellM configuration You can configure GKrellM by right-clicking on the monitor and selecting Configuration from the drop-down menu, or at anytime while GKrellM has the focus by pressing the F1 key. The configuration menu lets you address general options, built-in monitors, plug-ins, and themes.

Under general options, for example, you can set the periodicity of monitor updates and the width of the GKrellM display. You can also choose to display/not display the Hostname and System name, remember the screen position and use the same one next time the program is run, and also allow multiple instances to run concurrently. General properties include sticky-state, placement above or under other windows, dock or panel window, taskbar inclusion, and other choices. That's quite a bit to start with, but it's not nearly the whole of it.

Under the Builtins options you find configuration categories for Sensors, Clock, CPU, Proc, Disk, Internet, Net, Memory, File System, Mail, Battery, and Uptime. The Internet options are particularly nice. You can monitor specific ports (or port ranges) and control how often the monitor is updated.

Curious about how many probes you're getting on those troublesome Windows NetBIOS ports? GKrellM can tell you. Once at the Configuration screen, click on Builtins->Internet. Then, under Data 0, enter "NetBIOS" for the label, 137 as port 0, and 139 as port 1, and check the "Port 0-1 is a range" box. Now click add, and you can see the new "NetBIOS" monitor immediately in the GKrellM display.

There are dozens of plug-ins: 82 monitoring plug-ins are listed on the GKrellM homepage, along with another half dozen for configuration or documentation. I didn't know where to start, so I went back to freshrpms.net and took the easy way out by downloading three RPMs containing plug-ins: one for utilities, one for miscellaneous, and one for multimedia plug-ins.

After downloading and installing gkrellm-plugins-utils-2.1.12-fr2.i386.rpm and restarting GKrellM, I found I had three new plug-ins installed: Reminder, GkrellShoot, and gldeds. The most interesting of the three was GkrellShoot. It consists of a screen-saver-like image in a monitor (selectable, of course) with Lock and Shoot buttons beneath it. Clicking on Lock locks the desktop. Clicking on Shoot lets you capture a screen image, single window, or entire screen. I hacked the configuration to use the Gimp to display the screenshot instead of ee.

Next came gkrellm-plugins-misc-2.1.12-fr2.i386.rpm. After installing that collection I noticed three additional plug-ins: Flynn, GKrellWeather, and Background Changer. And there are plenty more out there where those came from.

More on page 2...

 

Share    Print    Comments   

Comments

on GKrellM: Geek eye-candy, monitors, and more

Note: Comments are owned by the poster. We are not responsible for their content.

I cant do without!

Posted by: StratiS on October 30, 2003 02:56 AM
'GKrellM' with 'WindowMaker' is a must for me on my laptop with 128Mb of ram, coupled with the battery power monitor is a must for people who use WM's or Desktop Environments that dont have this functionality bulitin. Not to mention the I like to know when I have a filesystem mounted, what the time/date is, internet activity, swap activity...<nobr> <wbr></nobr>:)

My laptop Aladium

#

Re:I cant do without!

Posted by: StratiS on October 30, 2003 03:11 AM
<A HREF="http://www.ccsi.com/~stratus/images/Aladium.jpg" TITLE="ccsi.com">My laptop Aladium</a ccsi.com>

It is a utility.

#

Takes up screen space...

Posted by: Anonymous Coward on October 30, 2003 04:42 AM
I can see why some people find it useful. But for me, I ran it for a while, but found it pretty much useless (on my desktop machine) so I uninstalled it. It just takes up screen space, and I never really look at it. Maybe if I setup temp probes I might use it again, though, but only occasionally, its not something I'd keep open constantly.

#

Indispensable for me

Posted by: Anonymous Coward on October 30, 2003 05:58 AM
Its the first program I set up on Linux, and the first thing I miss when I'm stuck on a windows box. It cures the "I wonder if the machine is doing anything" question when starting other applications. It also shows how well my high speed internet link is doing. Not to mention things I can't keep track of like the day and date and how full my drives are. Kudos and thanks to Bill Wilson!

#

Re:Indispensable for me

Posted by: StratiS on October 30, 2003 07:09 AM
Its a good thing Bill Nalens ported it to windows then.

#

Re:Indispensable for me

Posted by: StratiS on October 30, 2003 07:12 AM
Its a good thing <A HREF="http://bill.nalens.com/" TITLE="nalens.com">Bill Nalens ported it to windows</a nalens.com> then.

#

Re:Indispensable for me

Posted by: edgemaker on October 30, 2003 02:03 PM
i think that on my Windows desktop gkrellm will be ugliest thing.

#

Re:Indispensable for me

Posted by: StratiS on October 30, 2003 05:55 PM
If your into looks, there is an alternative shell for windows that allows you to create every graphic on your desktop except the icon's in the system tray, or, if you dont want to create, you can use on of the many <A HREF="http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=litestep+themes" TITLE="google.com">themes already made.</a google.com>, it called Litestep, its an extreamly configurable alterate shell for windows, just like GKrellM, I consider it a utility.

#

Windows Alternative

Posted by: Anonymous Coward on October 30, 2003 06:09 AM
If you are running a windows box and are looking for something similar, check out Sysmetrix.

<A HREF="http://www.xymantix.com/sysmetrix/" TITLE="xymantix.com">http://www.xymantix.com/sysmetrix/</a xymantix.com>

#

GKrellM ported to Windows

Posted by: Anonymous Coward on October 30, 2003 10:33 AM
Nothing to worry about, GKrellM runs on Windows. It's ported to Windows. Port can be found with Google or see the GKrellM site it probly has a link, too.

#

Re:GKrellM ported to Windows

Posted by: edgemaker on October 30, 2003 02:24 PM
Sysmetrix appears more preferably than gkrellm, only because of the fact that it from the very beginning is designed for Windows and does not have problems with its external wretchedness...

#

tried

Posted by: Anonymous Coward on October 30, 2003 06:10 AM
I tried the version on debian/sid. Seemed buggy and uninformative. (didn't render quite right, unless it's really meant to be that ugly.)

I'd vote for fvwmbuttonbar with swallowed xload and xbiff.

#

Re:tried

Posted by: joehill on October 30, 2003 06:53 PM
I don't think this is so ugly<nobr> <wbr></nobr>;-)

http://www.orderinchaos.org/desktop.png

You can very easily hack the themes to use nicer fonts and such, give it a shot!

#

xosview

Posted by: Hillbilly on October 30, 2003 06:54 AM
is a good alternative if gkrellm seems too cluttered...

then again there is allways top...

#

Again, "apt"

Posted by: Void Main on October 30, 2003 08:51 AM
Or if you have apt installed from FreshRPMS.net you can:

# apt-get install gkrellm gkrellm-themes

The RPM files Joe downloaded were actually packaged by Matthias, creator of FreshRPMS.

#

Good stuff

Posted by: dukeinlondon on October 30, 2003 10:47 PM
A favorite since day one. Just lack Kpanel docking ability.

#

Client/server

Posted by: Tak_tak on October 30, 2003 10:56 PM

One of the best features of gkrellm wasn't even mentioned (except as part of a brief TODO list) - gkrellmd! With gkrellmd, I can remotely monitor different characteristics of all the machines on my LAN, such as hits and load on my web server, disk usage on my mail server, and port traffic on my NAT. Just install and run gkrellmd on the machine to be monitored (no X required), then run a gkrellm instance on your monitoring machine and point it to the correct location.



On a mostly unrelated note, my favorite plugin for desktop machines is bubblefishymon - it combines 3 or 4 monitors into an easy, single-glance meter.

#

Can't live without gkrellm

Posted by: DaleSmith on October 30, 2003 11:30 PM
How can you live without gkrellm? How do you know when the network is going nuts? Or why is my cpu usage suddenly way more than normal? How do you know what "normal" is anyway?

Gkrellm lets you see into the heart of your machine.

There are also dozens of cool plugins, like volume controls, weather info, and moonclocks.

I really can't live without my gkrellm. Thanks again Bill!

#

Re:Can't live without gkrellm

Posted by: smitty45 on October 31, 2003 01:34 AM
you can use vmstat, top, iostat, netstat, sar, etc. to show the same info that gkrellm does.

i do like gkrellm, of course, but on machines that don't have X running (servers, etc.) it's no good.

#

Krell

Posted by: macemoneta on October 31, 2003 07:29 AM
I use GKrellM all the time to monitor multiple machines. The reference to "Krell" wasn't properly explained, however. It refers to the power monitoring room of the long-dead aliens (the Krell) in the movie <A HREF="http://us.imdb.com/title/tt0049223/" TITLE="imdb.com">Forbidden Planet</a imdb.com>. The room had these dials covering all the walls to monitor the planet-sized power supply. Great movie.

#

i love gkrellm....

Posted by: romana challans on October 31, 2003 08:32 AM
mine has a plugin for my local adsl provider, an xmms plugin, setiathome, the usual mount point/ethernet/proc/mail notify/time and date stuff - and the cutest frippery - bubblefishymon to monitor system resources. watch those fishy swim with network traffic, see the duck drown in too much cpu and swap usage..;)
all with the lucsious trublu theme running on a sweet fvwm2 desktop on debian....

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya