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
5.0
Available as/for: -
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:

10 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

C

Viras

14 years ago

jup will add an option to optionally write the stats each time they are refreshed!

Report

pupil

14 years ago

hi,

while waiting for you official release, i've write a patch that add a page and a checkbox in KTA setting to select statistic writing on application close or on refresh.

i put the patch in http://rafb.net/p/rZ7eox72.html

all KTA RPM package i build (today) which available in my website, my repos, and http://repos.opensuse.org/KDE:/Community are build with this patch

thanks.

Report

pupil

14 years ago

that would be great.
thanks

Report

aldin

14 years ago

i have used vnstat and vnstat_php_frontend...
But this is what i was waiting for! Now i can "count" my bytes only when i want, not all the time, like in vnstat - which counted my internal and external net traffic

thanks man!!! keep up a good work!!!

ps:
if i find out some ideas for improvements i'll let u know, bye.

Report

aldin

14 years ago

i have used vnstat and vnstat_php_frontend...
But this is what i was waiting for! Now i can "count" my bytes only when i want, not all the time, like in vnstat - which counted my internal and external net traffic

thanks man!!! keep up a good work!!!

ps:
if i find out some ideas for improvements i'll let u know, bye.

Report

dgvirtual

14 years ago

Would it be possible to have ktrafficanalyzer to count the network traffic specifically for a specific period of time? Say, I have a limited internet access during the peek hours from 6 AM to 6PM (100 mb per month) and unlimited access from 6 PM to 6 AM. extra megabytes cost me a lot of money during the peek hours so I need to watch if I have not ecceeded the limit just during those hours.... Would it be possible to make such an option in ktrafficanalyzer?

Report

polrus

14 years ago

the latest realease has all I would like to have in such program - thank You for Your great work

Report

athleston

14 years ago

Compiling on cutting edge Mandriva Cooker -- see console trace below:

]# make install
if test "`kde-config --prefix`" = ""; then echo KDEDIR not set!; exit 1; fi;
cp KTrafficAnalyzer `kde-config --prefix`/bin/
ln -s `kde-config --prefix`/bin/KTrafficAnalyzer `kde-config --prefix`/bin/ktrafficanalyzer
ln: creating symbolic link `/usr/bin/ktrafficanalyzer' to `/usr/bin/KTrafficAnalyzer': File exists
make: *** [install] Error 1

Report

C

Viras

14 years ago

Hi!

The Problem is, that you have an old version of KTA running.

Just run a make uninstall before you run the make install (you can use the new release and just run make uninstall in it, make uninstall just deletes the binary file an the link to it). As I said above, after running make uninstall you can run make install again and it should work.

Will fix the makefile for the next release!

Report

Zeeuw

14 years ago

I just checked the settings and I saw that not all the characters are visible.
For example: at the window tab, it should say: Start Minimized, but I only see Start Minimiz.

Same for Colors tab, last line, Interface tab end of the first line etc.

It looks like the text fields are too short (don't know how these dialogs are made)

Report

C

Viras

14 years ago

Well the Settings-Tabs are made using QTDesigner, I already fixed it here => will be fixed in next version!

Report

Zeeuw

14 years ago

Hi,

Great program! Unfortunately, it doesn't compile here anymore (since 0.3.5 i think)
I'm getting this error with 0.3.6-1 when I do make:
TrafficWindow.h:49:24: error: remoteRead.h: No such file or directory
then it stops compiling.

I'm using gentoo on amd64 architecture.
Could you please solve this? (or is it my fault? :P)

Thanks in advance

Report

C

Viras

14 years ago

Sorry - updated Tarball uploaded. I'm actually working on some more changes and didn't remove all references to it. Should work now!

PS: Please let me know if everything worked!

Report

loki

14 years ago

Works fine now (compiled on openSUSE 10.2 to 9.2, x86 and x86_64), thanks.

Report

Zeeuw

14 years ago

I got it working now, though I had one problem.
On gentoo, I'm not able (and have never been) to execute a kde program just by calling the name in the terminal. I have to type /usr/kde/3.5/bin/PROGRAMNAME to extecute it. So got this error when doing make install as root:
/bin/sh: kde-config: command not found
KDEDIR not set!

I changed the 10th line in the makefile so it executed /usr/kde/3.5/bin/kde-config. I don't know if all the kde directories on different distro's are the same (I guess not), so I don't know how you would need to fix it.

Thanks for fixing it by the way

Report

siegi

14 years ago

Hi!

You should add something like

export KDEDIR=/usr/kde/3.5

to the /etc/profile file.
Don't know if KDE automatically adds the right directory to $PATH. If not, you could also add

export PATH=$PATH:/usr/kde/3.5/bin

to the same file.

Should work... if not, ask ;-)

Report

loki

14 years ago

Same error here (openSUSE 10.2/x86_64), seems the tarball is missing some source files.

Report

polrus

14 years ago

it uses the disk every second - not good for laptops and for disk in general

Report

Ne0

13 years ago

Good work. I was looking for a program like this one for some time.

Is there any chance to count local (LAN) and external (Internet) traffic separately? This will help a lot in situation with Internet traffic cap.

Report

yehielb

11 years ago

I am interested in traffic seperation by (internet/lan) as well,
is there a way?

Report

siyuan

14 years ago

I've made some changes so that traffic statistics are written to disk only when exiting the app.

There were a lot optimizations as well and KTA should be much more efficient now.

I've uploaded the updated source, if you are interested you can try this unofficial version.

http://myhome.ethome.com.tw/siyuan/KTrafficAnalyzer-0.3.6-1.tar.bz2

Report

polrus

14 years ago

thx, i'll give it a try

Report

siyuan

14 years ago

Hi all,

I've made some improvements to this nice app, while waiting for reply from the original author, you can also try it from:

http://myhome.ethome.com.tw/siyuan/KTrafficAnalyzer-0.3.6-1.tar.bz2

Following changes have been made:
- Changed to use /sys for reading traffic data
- Allow hiding the main window by clicking the close button instead of exiting
- Added double buffering to prevent flickering
- More reliable interface discovery/handling
- Added read traffic from all interfaces option
- Added start minimized option

However I'm still a n00b KDE programmer, so please forgive my bad coding.

Known problem:
KDE session saving doesn't work correctly. I don't know how other system tray enabled KDE apps work with session saving, please kindly let me know if you know how.

To do:
- Add DU-Meter like graph drawing
- Add system tray graph drawing or can be set to "LED mode" like DU-Meter
- You tell me

Report

C

Viras

14 years ago

Sorry for my absence - but real life keeps me busy :).

I'm of course perfectly fine when you modify the code I provide here, however I wont release it as an official version, because I've already done quite a few code-changes before you submitted your changes, so chaos would be perfect :).

So feel free to release your modified versions, but atm I wont add the changes to the "official" source tree (I will go through the changes and manually merge whereever possible).

Report

pupil

14 years ago

k then, i'll update my package (that available at my site, my repos, and KDE:Community repos) when the new official release is out.

meanwhile, for those who want to try siyuan's improved version, you can download the RPM package for opensuse 10.2 from this URL:
http://www.mydatabus.com/public/donnie/z/KTrafficAnalyzer-0.3.6-1.1OS102DSB.i586.rpm

Report

10 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

12345678910
Be the first to comment
giricz81
Dec 10 2009
File (click to download) Version Description PackagetypeArchitectureRelease ChannelDevices Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.5.4.1
updated Jul 31 2010
added Mar 23 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags app software