# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]


 KNetStats : KDE System Tray Network Monitor

One of my favorite GNOME applets has always been the GNOME-netstatus network interface monitoring tool. Until recently, I was unable to find a satisfactory similar application for KDE. However, I finally stumbled upon the KNetStats applet at SourceForge, a mature network interface monitoring applet for the KDE system tray.

The current version (v1.2) is available for download from the SourceForge Project page, and is a realtively small download at 333K, and it does require Python to be installed on your system in order to be compiled and run. There are no binary releases, no deb, RPM or slp packages, only source code at this time.

 (Submitted by Chuck Talk Tue Feb 8, 2005 )

  The author, Hugo Parente Lima, has requested that anyone who wishes to make such packages available contact him. There is a contact form on the project home page, so if you would like to build out those packages, this is your chance to start with a relatively stable project that just works. The applet's main depemdency is Python, other than that, the install is amazingly simple to accomplish.

In order to accomplish the installation, simply download the source code for the latest version (v1.2) to your system. In my SuSE 9.2 Professional, I chose to move the source to /opt/kde3 as root for installation.

sys@sys#mv knetstats-1.2.tar.bz2 /opt/kde3

sys@sys#cd /opt/kde

sys@kde3#bunzip2 knetstats-1.2.tar.bz2

sys@kde3#tar -xvf knetstats-1.2.tar

The steps outlined above will unpack the source into the /opt/kde3/knetstats-1.2/ directory on a SuSE 9.2 Professional machine. If you have Python installed, you are ready to begin the process of actually installing KNetStats, if not, you will need to go to Yast and search for Python and install the appropriate packages. You will need your installation media handy to retrieve the appropriate packages. Once you have met the dependency requirements of having Python on your system, the actual installation of KNetStats takes amazingly little effort.

KNetStats uses SCons scripting to install system-wide, and is the reason that Python must be present. To install, simply type in (as root):

sys@knetstats-1.2#./scons install

That will create the correct files, icons and menu entries for the KNetStats applet. In order to run the applet, you can simply type in the run command line interface:

knetstats

and this will start the application in your system tray:

system tray net applet for KDE



You will notice that nice new network interface applet sitting on the far right of the system tray. You will also be able to start KNetStats from the main KDE Menu interface in SuSE 9.2 Professional under Internet More Programs.

The KNetStats applet allows you to configure the interface you wish to monitor (eth0, lo, and sit0 are default for my install of SuSE 9.2), and whether or not to display activity via the icon appearance or via text mode. You can also choose a default font for your applet:


configuring KNetStats



Further, you can view statistics for the interface you are monitoring:


interface statistics



I would like to thank the author, Hugo Parente Lima, for his excellent applet. KNetStats is a GNU GPL applet, copyright by the author, and it is highly recommended if you need to be able to monitor your network interface in a handy way.

Until next time, enjoy and support your favorite free and open source projects.


Our content can be syndicated: Main page Mac Page

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author