KTrafficAnalyzer

Network

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
Score 85%
Description:

KTrafficAnalyzer is meant to provide visual feedback of your current network traffic, similar to tools like DU-Meter. In addition it provides statistics with total down- and upload sums.
Starting with version 0.3.7 KTA supports reading the stats remotely using an SSH-connection. For instructions on how to use that feature checkout the SSHUsage file delivered with KTA.

Of course feedback is more than welcome. There is still more than enough room for improvements. Also checkout the TODO file what I'm already planning - maybe you have ideas what I can add or what might be useful too!

For instructions on how to compile / install it please read the INSTALL file included in the archive.

There are also various RPMs available - just check the download links. Thanks to all the contributors!

Finally a new release of KTA. It is now KDE4/QT4 compatible. Some features like the SSH remote read have been disabled, because the API has changed in such a siginificant way, that I need more time to re-implement those features.

There is now also a SourceForge project available, a SVN repository and some basic descriptions and downloads are available there ( https://sourceforge.net/projects/ktrafficanalyze/ )

I'm also looking for packagers who would like to help me!

Last changelog:

14 years ago

v0.5.4.1 (02.08.2010):
======================
- Fix for Source to work on gcc4.5 & qt 4.4 (compatible with more versions)

v0.5.4 (31.07.2010):
====================
- Traffic display should now work correctly for changed refresh rates
- Menu bar is now control-able by ctrl+m (default behaviour)
- Canvas drawing is now actually fully correct (problem with 1pixel offset)
- Systray now has a menu for quickly selecting the interface to monitor
- Fixed some bugs reported by users (thanks to all of you!)

v0.5.3 (10.12.2009):
====================
- Added option for Window Opacity
- Prepared KTA for translation (not 100% ready yet)
- Added desktop file
- Added Option for Autostarting KTA with KDE
- Re-worked stats windows
- KTA now starts minimized if the option is checked (thanks to hoanbl for reporting this bug)
- KTA now minimizes to the tray again (thanks to lolko7 for reporting this bug)
- There is now an option for minimize to tray (to enable / disable it)
- Added Widget for Statistics Configuration

v0.5.2 (13.11.2009):
====================
- InterfaceName is now also saved beyond Interface-Source changes, so switching the Interface-Source will also preserve the selected interface (if it exists)
- KTA now uses Icons from the Oxygen theme
- Improved RingMemory class (handling & drawing more efficent, removed memory leaks)
- Fixed several bugs that occured because of KDE4/QT4 porting
- KTA now reads the default colors from the application-palette (which means default colors should be really your default colors)

v0.5.1 (04.11.2009):
====================
- KTA is now using CMake

junkDawgie

9 years ago

two items:

if the update time is changed, the up/down rate is incorrect.

and, if you remove the border and menu bar to get just a graph display, the menu bar is not recoverable with Ctl+M..?

nice little tool, keep up the good work.

Report

gohanz

9 years ago

The help > about report the old 0.5.2 version

Report

C

Viras

9 years ago

Ah thanks a lot, will fix that in the next version :)!

(hopefully it will report the correct version then :p)

Report

ssuominen

9 years ago

Seems you added the desktop entry too :)

Thanks.

I've bumped it to Gentoo's Portage few mins ago.

Report

C

Viras

9 years ago

Yes, finally I added the desktop entry, after forgeting it two times :).

Just updated the download links for gentoo!

Report

lolko7

9 years ago

Hello
OS - openSUSE 11.1 64bit
After upgrade to 0.5.2-7.1_x86_64 from KDE_Community I can't close/minimize to try (always exit and don't monitoring traffic) and don't remember my stats from earlier version.
Any idea how resolve to this problem ?

P.S. I dont remember which version I have first but work perfect until... I upgrade to 0.5.2-7.1. Is this problem with build for my OS ?

Report

C

Viras

9 years ago

It seems as if the isMinimized function doesn't work in KDE4 (for whatever reason).
However I've changed the code to a workaround for now, and the minimize to tray should work in the next version again.

To get back your old stats, you have to copy all ktastats* files from the old kde3 directory ( .kde/share/config/ ) to the new kde4 dir ( .kde4/share/config/ ) (make sure KTA is not running).

Once done you should be able to display your old stats again!

Report

hoanbl

9 years ago

I installed katrafficanalyzer 0.5.2 in ubuntu 9.1. It is running well but I can't minimize it when start the app, althought I checked "start minimized" in setting. Help me!

Report

C

Viras

9 years ago

Hi!

This is due to a bug in KTA, it will be fixed in the next release!

Regards

Report

Touchpad

9 years ago

Here is the deb file for KTA 0.5.2 : http://mrtrandoai.googlepages.com/ktrafficanalyzer_0.5.2-1_i386.deb . It works well on Ubuntu/Kubuntu 9.10. Have fun!

Report

Touchpad

9 years ago

I built a deb file for KTA here: http://mrtrandoai.googlepages.com/ktrafficanalyzer_0.5.1-1_i386.deb . It works well in Kubuntu 9.10, except that the icon in System Tray is only a question mark. Have fun!

Report

ssuominen

9 years ago

A file "ktrafficanalyzer.desktop" for /usr/share/applications:

-- cut --

[Desktop Entry]
Name=KTrafficAnalyzer
Type=Application
Exec=ktrafficanalyzer
TryExec=ktrafficanalyzer
Icon=ktrafficanalyzer
Categories=KDE;Qt;Network;

-- cut --

I couldn't find a .png, .svg or .xpm file from KTrafficAnalyzer's sources, so the Icon= line is dummy at the moment. I guess you could pick one icon name from oxygen-icons (kde4's default icon pack) if you don't want to make your own. I'll leave that to you :)

Report

ssuominen

9 years ago

Any chance you could use CMakeLists.txt in future, like other KDE4 components?

The only reason I didn't package this for Gentoo is the lack of decent build system.

Thanks!

Report

C

Viras

9 years ago

I've just released version 0.5.1, which now completely uses CMake.

Hope this is what you expected :).

Regards,
Viras

Report

ssuominen

9 years ago

Perfect!

It's now in Gentoo portage as:

kde-misc/ktrafficanalyzer-0.5.1

Thanks again.

Report

C

Viras

9 years ago

Thanks a lot!

I added the Portage Entry to the download links!

Also thanks for the desktop entry, will add it to the package!
Maybe I will come up with a own Icon, I will see :)!

Report

C

Viras

9 years ago

Hi all!

As you may have noticed, it's been quite a while since I last update this app. That was due to some real-life issues called job and family :).
However I'm now planning to continue development of KTA. As a first step I will try to fix all the bugs outlined here, and will then port the whole app to KDE4.
I'm not planning to convert the tool into an plasma applet, because the intention of KTA is to provide network info in a "widget" way.

Thanks to all for you patience, will try to release something new as soon as possible!

Regards,
Wolfi

Report

cirith

10 years ago

i was looking for something like dumeter for laboratory probes, free jejeje.

Report

MartinKG

10 years ago

to allow compile ktrafficAnalyzer on Fedora 9 + 10 the following patch for Makefile is necessary:

--- KTrafficAnalyzer-0.4.0-1/Makefile 2008-06-21 14:33:49.000000000 +0200
+++ KTrafficAnalyzer-0.4.0-1/Makefile.new 2008-10-03 13:03:42.000000000 +0200
@@ -10,12 +10,18 @@
MOC = $(QTDIR)/bin/moc
UIC = $(QTDIR)/bin/uic
UBUNTU := $(shell lsb_release -si)
+FEDORA := $(shell lsb_release -si)
ifeq ($(UBUNTU),Ubuntu)
ADD_CFLAGS += -I/usr/include/kde -I/usr/include/qt3
ADD_LFLAGS += -L/usr/lib/qt3/ -L/usr/lib/kde3
QTDIR = /usr
endif

+ifeq ($(FEDORA),Fedora)
+ ADD_CFLAGS += -I/usr/include/kde -I/usr/lib/qt-3.3/include
+ ADD_LFLAGS += -L/usr/lib/qt-3.3/ -L/usr/lib/kde3
+endif
+
all:
if test "$(KDEDIR)" = ""; then $(ECHO) KDEDIR not set!; exit 1; fi;
if test "$(QTDIR)" = ""; then $(ECHO) QTDIR not set!; exit 1; fi;

Report

brbafk

10 years ago

After running for 13 days, Ktrafficanalyzer seems to have consumed ~31% of my 1.25GB RAM. I think it may have a memory leak, I doubt this is normal operation.

I'm using the 0.4.0-1, on Slackware 12.1.

Report

2l00Z

10 years ago

Thanks for this good app.

In my KDE environment I use dark theme and correspondently dark background color in the traffic-graph. But since v.3.8-1 the maxValue font color became Black - independently of my system text color as before - and thereafter not distinguished in my background.
I used to resolve this problem by compiling app with some changes in TrafficWindow.cpp:
In the function TrafficWindow::drawRingMemory() (line 493 for v.4.0.1) I set line:
windowPainter.setPen( color );
before line:
windowPainter.drawText(QRect(1,0,100,100), AlignLeft|AlignTop, getDisplayString(maxValue));

Then after compiling of the app the color of maxValue becomes "Upload Color" (default - Green), that was OK for me.
Now I upgraded my SUSE to 11.0 with KDE4 and have some troubles with compiling (as I can understand - because of unresolved QT3/QT4 dependencies in my system). I am too bored to settle this compiling problem because of a such small bug in the app. So would You please fix it in the next binary packages?

From my side I have a suggestion: it would be great to set maxValue color in accordance with the colors of corresponding Upload and Download processes depending of which process get that maxValue. I think KDE users with "light" themes will not be much insulted since colors of the graph curves are apparently quite distinguished in theirs backgrounds.
Thank You.

Report

toods

10 years ago

Since version 0.3.1 it has not been possible to reduce the vertical height of the KTrafficAnalyzer window at all. Is it possible to reintroduce this option.

Thank you.

Report

C

Viras

10 years ago

What do you mean by that?

You can resize the window to any size you want. If you just don't see a border you have to uncheck the option "No Border" in the Settings Dialog under "Window -> Appearance"!

Report

toods

10 years ago

What I mean is this:
I can place the mouse cursor over either of the 2 side borders, press the mouse and either drag to make the window wider or narrower. If I do the same but place the mouse over the top or bottom borders, I can drag to make the window depth 'greater' but I cannot make any smaller than the default size. There appears to be a minimum height. This was not the case with version 0.31 and earlier.

Report

Herz-von-Hessen

10 years ago

Hello,
now there are many Month ago since the Last Entry in this Thread ant so i want to ask the Programmers "What was done the past months, fulfilled the desire and repaired the problem?"
Was a solution found? or avaiable in foreseeable time?
Greetnings from Germany

Report

14 years ago

v0.5.4.1 (02.08.2010):
======================
- Fix for Source to work on gcc4.5 & qt 4.4 (compatible with more versions)

v0.5.4 (31.07.2010):
====================
- Traffic display should now work correctly for changed refresh rates
- Menu bar is now control-able by ctrl+m (default behaviour)
- Canvas drawing is now actually fully correct (problem with 1pixel offset)
- Systray now has a menu for quickly selecting the interface to monitor
- Fixed some bugs reported by users (thanks to all of you!)

v0.5.3 (10.12.2009):
====================
- Added option for Window Opacity
- Prepared KTA for translation (not 100% ready yet)
- Added desktop file
- Added Option for Autostarting KTA with KDE
- Re-worked stats windows
- KTA now starts minimized if the option is checked (thanks to hoanbl for reporting this bug)
- KTA now minimizes to the tray again (thanks to lolko7 for reporting this bug)
- There is now an option for minimize to tray (to enable / disable it)
- Added Widget for Statistics Configuration

v0.5.2 (13.11.2009):
====================
- InterfaceName is now also saved beyond Interface-Source changes, so switching the Interface-Source will also preserve the selected interface (if it exists)
- KTA now uses Icons from the Oxygen theme
- Improved RingMemory class (handling & drawing more efficent, removed memory leaks)
- Fixed several bugs that occured because of KDE4/QT4 porting
- KTA now reads the default colors from the application-palette (which means default colors should be really your default colors)

v0.5.1 (04.11.2009):
====================
- KTA is now using CMake

product-maker 34 217

File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.5.4.1
updated Jul 31 2010
added Mar 23 2005
downloads today
0
page views today 5
System Tags app software