KNetStats

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

0
Score 50.0%
Description:

A simple KDE network monitor that show rx/tx LEDs of any network interface on a system tray icon
Last changelog:

10 years ago

v1.6.2

- Updated translations.

v1.6.1

- Fixed crash when discovering a new interface.

v1.6.0.1

- Disable the -ansi flag to avoid compile problems.

v1.6
- More user-friendly, try to detect some things and start without importune the user with configuration dialogs.

v1.5
- Added "Chart view".
- New Statistics dialog (show IP address, MAC address, etc).
- Using bksys as building tool.
- Carrier on/off detection.
- Reading interface date from /sys/class/net/INTERFACE/statistics instead of parse /proc/dev/net.
- New translation to romanian

Note to BSD users: This version is not compatible with BSD, it uses some linux-only stuff. A BSD-compatible version is plained in a near future.

v1.3
- New configuration dialog.
- Support to multiple interfaces.
- Is possible change the colors in the text mode view.
- Is possible change the icon theme of in icon mode.
- Added smooth speed meter.

v1.2.1
- Added Russian translation (Edward Romantsov).
- Added Polish translation (Wiktor Wandachowicz).

v1.2

- Now using SCons as building and install tool, so you will need to have Python installed in your distro to run SCons scripts and compile/install KNetStats.
- Added Brazilian portuguese translation (me).
- Added Kirghiz translation (Ilyas Bakirov).
- Added Italian translation (Roberto Leandrini).
- Added Spanish translation (Carlos Ortiz).
- Added Deutsch translation (Henrik Gebauer).
- Bug Fix: When network interface in changed, the Statistics window caption is changed too.
- Bug Fix: Statistics window now correctly format Download/Upload Speed.
- Bug Fix: When start KNetstats with a unavaliable interface, now upload speed is equals to 0pkts/s (not -2pkts/s)
- Bug Fix: When knetstats starts and statistics windows is hidden it is not updated.

v1.1.2

- Build system now uses kde-config instead $KDEDIR env. variable. This will solve problems when compiling KNetstats on some distros (Suse 9.1, Fedora).

v1.1.1

- Clicking on trayicon show/hide statistics window (suggestion by Fredy Yanardi).
- All dialogs now show the KNetStats icon on windows decoration.
- It's possible to change the font used in textmode (suggestion by Vik).


v1.1

- Bug Fix: Not saving UpdateInterval when the network interface is not changed.
- Litle optimizations
- Support to IconMode (Activity Led's) or TextMode (showing rx/tx transfer rate)

gepomuk

9 years ago

Got this since jaunty and still with karmic. I open it with a script connecting the dsl modem. sometimes it works, sometimes not. If not, i have the same starting it by bash or kde commandline. if knetstats remains open while shutdown, it wont get restored next time i boot, there's an error message about not being able to connect to dcop server. very annoying, as there is no certain error message and sometimes the error is there and sometimes not. there is no change in what i do before knetstats is opened, i connect to dsl right after the machine is up. sometimes i get a tray icon, sometimes not. weird.

Report

gepomuk

9 years ago

p.s. i have 2 totally different machines with kubuntu, both have this problem, although the other one has a permanent router connection. so it's not about pppd or something.

Report

famewolf

10 years ago

It seems that unless I compile the package ON the machine I want to use it on (I downloaded a package using opensuse's build service) that the icon's refuse to dock to the system tray. Any idea on how to force them to dock?

Report

neves

12 years ago

Is there any option to disable popups ? I have a lot of 'eth0 is disconnected', followed immediately by 'eth0 is connected', on my wifi connection.

Report

kujub

12 years ago

First of all I have to say that your app works very good, thanks.

It would be very nice, if the scale of the traffic plotter could be set to some fixed maximum, because otherwise it is quite difficult to know what is really going on.
Even nicer it would be if it could be set to use a logarithmic scale. This way one could see little amounts too even when maximum is big.
For example the range from 100 B/s to 100 MB/s would need only six scale lines. (100 B/s - 1 KB/s - 10 KB/s - 100 KB/s - 1 MB/s - 10 MB/s - 100 MB/s - Even the range from 1 B/s to 100 MB/s should be possible.)

Report

funt

12 years ago

how i can add aditional iconsets ?

Report

dtmonterrey

12 years ago

I must say: Wow!!! I can't believe I haven't see this tool earlier. From Mandriva there was something like this and knetworkmanager but with fedora I was a little disapointed because I miss that.
For me knetworkmanager isn't solution I was looking because I don't use networkmanager, I do my connections manually. But I wanted something to look at the network activity easy (graphics and text info) and I was using superkaramba (I know how silly that is).
And now my problem is solved. Thank you!!!

Report

szotsaki

12 years ago

Great application, I have to say.

But there is a small bug in it:
When I switch to text mode the upload and download texts are on each other.
Only decreasing the font size to 8-9px solves this problem. But in that case the texts are unreadable.

And a wish: It would be good if the application showed some upload/download rate information in icon mode when I place the cursor on the icon. Like in Amarok, you can read some information in the tooltip.

Report

arturok

12 years ago

im having an issue: when i start kde with the wifi switch off, knetstats show me "dev[some number]" disconnected instead of eth1 disconnected. And when i switch on the wifi (eth1) and do an ifup eth1, knetstats crashes. Is ther a solution for that?? thx in advance

Report

C

hugopl

12 years ago

This has been fixed on 1.6.1.

Report

arturok

12 years ago

thanks for the replay but the problem persits. I forgot to mention that iam having this problem after i installed vmware workstation, even so i disabled the vmware services. Also i erased the file ~/.kde/share/config/knetstatsrc and reinstall netstats 1.6.1 but nothing. I hope i can be fixed because its a great application.

Report

Kwellmeister

13 years ago


Thanx, it's a great little app - with less power consumtion than the knemo-plotter needs !
To return the favour I made a debian package which you can find here:

http://harrys-home.gmxhome.de/knetstats_1.6-1_i386.deb

Made (and tested only) on a Debian Unstable Box (Kanotix) with KDE 3.5.3.

Report

Kwellmeister

13 years ago


Thanx, it's a great little app - with less power consumtion than the knemo-plotter needs !
To return the favour I made a debian package which you can find here:

http://harrys-home.gmxhome.de/knetstats_1.6-1_i386.deb

Made (and tested only) on a Debian Unstable Box (Kanotix) with KDE 3.5.3.

Report

sasuke

13 years ago

Here's the particulars:

knetstats 1.5
ubuntu breezy badger amd64
linux 2.6.12 (x86_64)
gnu libc 2.3.5
gcc 4.0.2 20050808
python 2.4.2
uic 4.0.0.
moc 58 (Qt 4.0.0)
qt 3.3.4
kde 3.5.2
kwin 3.0

failure:
uic_processing(["src/configurebase.h", "src/configurebase.cpp", "src/configurebase.moc"], ["src/configurebase.ui"])
/usr/bin/uic -L /usr/lib/kde3/plugins -nounload -o src/configurebase.h src/configurebase.ui
Qt user interface compiler 4.0.0.
Usage: /usr/bin/uic [OPTION]...

-h, -help display this help and exit
-v, -version display version
-d, -dependencies display the dependencies
-o place the output into
-tr use func() for i18n
-p, -no-protection disable header protection

scons: *** [src/configurebase.h] Exception
Traceback (most recent call last):
File "/home/doneill/knetstats-1.5/scons-local-0.96.1/SCons/Taskmaster.py", line 31, in execute
self.targets[0].build()
File "/home/doneill/knetstats-1.5/scons-local-0.96.1/SCons/Node/__init__.py", line 78, in build
apply(executor, (self, errfunc), kw)
File "/home/doneill/knetstats-1.5/scons-local-0.96.1/SCons/Executor.py", line 45, in __call__
apply(action, (self.targets, self.sources, env, errfunc), kw)
File "/home/doneill/knetstats-1.5/scons-local-0.96.1/SCons/Action.py", line 104, in __call__
stat=self.execute(target, source, env)
File "/home/doneill/knetstats-1.5/scons-local-0.96.1/SCons/Action.py", line 281, in execute
return self.execfunction(target=target, source=rsources, env=env)
File "./admin/kde.py", line 343, in uic_processing
if env.Execute(comp_h): return ret
UnboundLocalError: local variable 'ret' referenced before assignment
scons: building terminated because of errors.

despite the QT version and MOC versions not jiving properly, i've had no issue compiling rather much any KDE apps. In fact, this was the third app I would have installed, had it not failed.

Report

tre-ben

13 years ago

Just downloaded the rpm version and plopped it on to my SuSE 10. Works great - Thank you!

A wish: It would be nice if it was possible to configure a fixed scale on each interface. So that the load diagram could show % of total (specified) bandwith.

A suggestion: An another icon with a PC in front and a globe behind to symbolize a interface connected to the internet.

Report

gohanz

13 years ago

A SlackWare TGz package with SlackBuild Script is Ready to DownLoad!!!

http://www.slacky.it/


http://www.slacky.it/index.php?option=com_remository&Itemid=1&func=fileinfo&filecatid=916&parent=category

Report

C

hugopl

13 years ago

Thanks, I'll put your package on the sourceforge download server.

Report

amigib

13 years ago

really nice app, works almost like in windows :) thanks man

Report

tekwyzrd

14 years ago

Thanks for the handy app.

There's a helpful article at

http://www.orangecrate.com/article.php?sid=962

and though the article was written for SUSE 9.2 it works on 9.3 as well. There were a number of undefined character messages generated (which I assumed was due to my use of kdelibs 3.0.4-20.7, python 2.4-14, or some other package more recent than those used in the app's creation) but the final product works fine.

Report

tekwyzrd

14 years ago

Thanks for the handy app.

There's a helpful article at

http://www.orangecrate.com/article.php?sid=962

and though the article was written for SUSE 9.2 it works on 9.3 as well. There were a number of undefined character messages generated (which I assumed was due to my use of kdelibs 3.0.4-20.7, python 2.4-14, or some other package more recent than those used in the app's creation) but the final product works fine.

Report

crs666

14 years ago

knetstats is not a copy, and i realised this by the time i was trying to find a tray app, that displays the traffic usage in numbers instead of "leds"
knemo was not succeed in this, so i tried to find something better.. knetstats was the good one, but now i cannot compile (merge) it on my current gentoo distro :( (it gives me a long, and strange error, firstly complaining about the absence of lsb_release, then comes a lot of error messages about some kind of kde, or python error, that i cannot really understand :(((

Report

linux3114a

14 years ago

It's a duplicate of Knemo

Report

C

hugopl

14 years ago

Thanks ot let me know KNemo, I tested it and appear to be a nice KDE service.

In this release (1.3) I'm using some icons themes from KNemo (network, modem and wireless), and also the "theme idea" of course.

(See the message on aboutbox/credits)

Report

hijackingharry

14 years ago

won't compile:
system Gentoo 2004.3
gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
binutils-2.15.92.0.2-r1

This is the output of the process,
hope it is not too long ;)

scons: Building targets ...
/usr/qt/3/bin/uic -o src/configurebase.h src/configurebase.ui
/usr/qt/3/bin/uic -impl configurebase.h -o src/uic_configurebase.cc src/configurebase.ui
/usr/qt/3/bin/moc -o src/moc_configurebase.cc src/configurebase.h
g++ -O2 -Wall -pipe -fomit-frame-pointer -I/usr/qt/3/include -I/usr/kde/3.3/include -I/usr/kde/3.3/include/kde -c -o src/uic_configurebase.o src/uic_configurebase.cc
src/uic_configurebase.cc: In constructor `
ConfigureBase::ConfigureBase(QWidget*, const char*, bool, unsigned int)':
src/uic_configurebase.cc:44: error: invalid use of undefined type `struct
KIntNumInput'
src/configurebase.h:21: error: forward declaration of `struct KIntNumInput'
src/uic_configurebase.cc:45: error: `setValue' undeclared (first use this
function)
src/uic_configurebase.cc:45: error: (Each undeclared identifier is reported
only once for each function it appears in.)
src/uic_configurebase.cc:46: error: `setMinValue' undeclared (first use this
function)
src/uic_configurebase.cc:47: error: `setMaxValue' undeclared (first use this
function)
src/uic_configurebase.cc:49: error: no matching function for call to `
QGridLayout::addWidget(KIntNumInput*&, int, int)'
/usr/qt/3/include/qlayout.h:331: error: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:51: error: invalid use of undefined type `struct
KComboBox'
src/configurebase.h:22: error: forward declaration of `struct KComboBox'
src/uic_configurebase.cc:53: error: no matching function for call to `
QGridLayout::addWidget(KComboBox*&, int, int)'
/usr/qt/3/include/qlayout.h:331: error: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:55: error: invalid use of undefined type `struct
KComboBox'
src/configurebase.h:22: error: forward declaration of `struct KComboBox'
src/uic_configurebase.cc:57: error: no matching function for call to `
QGridLayout::addWidget(KComboBox*&, int, int)'
/usr/qt/3/include/qlayout.h:331: error: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:63: error: invalid use of undefined type `struct
KPushButton'
src/configurebase.h:23: error: forward declaration of `struct KPushButton'
src/uic_configurebase.cc:64: error: `setDefault' undeclared (first use this
function)
src/uic_configurebase.cc:65: error: no matching function for call to `
QHBoxLayout::addWidget(KPushButton*&)'
/usr/qt/3/include/qlayout.h:386: error: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
src/uic_configurebase.cc:67: error: invalid use of undefined type `struct
KPushButton'
src/configurebase.h:23: error: forward declaration of `struct KPushButton'
src/uic_configurebase.cc:68: error: no matching function for call to `
QHBoxLayout::addWidget(KPushButton*&)'
/usr/qt/3/include/qlayout.h:386: error: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
src/uic_configurebase.cc:76: error: invalid use of undefined type `struct
KFontRequester'
src/configurebase.h:24: error: forward declaration of `struct KFontRequester'
src/uic_configurebase.cc:78: error: no matching function for call to `
QGridLayout::addMultiCellWidget(KFontRequester*&, int, int, int, int)'
/usr/qt/3/include/qlayout.h:333: error: candidates are: void
QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int)
src/uic_configurebase.cc:84: error: no matching function for call to `
ConfigureBase::connect(KPushButton*&, const char[11], ConfigureBase* const,
const char[10])'
/usr/qt/3/include/qobject.h:116: error: candidates are: static bool
QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227: error: bool
QObject::connect(const QObject*, const char*, const char*) const
src/uic_configurebase.cc:85: error: no matching function for call to `
ConfigureBase::connect(KPushButton*&, const char[11], ConfigureBase* const,
const char[9])'
/usr/qt/3/include/qobject.h:116: error: candidates are: static bool
QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227: error: bool
QObject::connect(const QObject*, const char*, const char*) const
src/uic_configurebase.cc: In member function `virtual void
ConfigureBase::languageChange()':
src/uic_configurebase.cc:105: error: `clear' undeclared (first use this
function)
src/uic_configurebase.cc:106: error: `insertItem' undeclared (first use this
function)
src/uic_configurebase.cc:108: error: `setText' undeclared (first use this
function)
scons: *** [src/uic_configurebase.o] Error 1
scons: building terminated because of errors.

Report

C

hugopl

14 years ago

Hi, I also use gentoo 2004.3, but with GCC v3.3.3.

What's the version of your KDE libs?

P.S.: I'll get the GCC 3.3.5 later and try to compile.

Report

10 years ago

v1.6.2

- Updated translations.

v1.6.1

- Fixed crash when discovering a new interface.

v1.6.0.1

- Disable the -ansi flag to avoid compile problems.

v1.6
- More user-friendly, try to detect some things and start without importune the user with configuration dialogs.

v1.5
- Added "Chart view".
- New Statistics dialog (show IP address, MAC address, etc).
- Using bksys as building tool.
- Carrier on/off detection.
- Reading interface date from /sys/class/net/INTERFACE/statistics instead of parse /proc/dev/net.
- New translation to romanian

Note to BSD users: This version is not compatible with BSD, it uses some linux-only stuff. A BSD-compatible version is plained in a near future.

v1.3
- New configuration dialog.
- Support to multiple interfaces.
- Is possible change the colors in the text mode view.
- Is possible change the icon theme of in icon mode.
- Added smooth speed meter.

v1.2.1
- Added Russian translation (Edward Romantsov).
- Added Polish translation (Wiktor Wandachowicz).

v1.2

- Now using SCons as building and install tool, so you will need to have Python installed in your distro to run SCons scripts and compile/install KNetStats.
- Added Brazilian portuguese translation (me).
- Added Kirghiz translation (Ilyas Bakirov).
- Added Italian translation (Roberto Leandrini).
- Added Spanish translation (Carlos Ortiz).
- Added Deutsch translation (Henrik Gebauer).
- Bug Fix: When network interface in changed, the Statistics window caption is changed too.
- Bug Fix: Statistics window now correctly format Download/Upload Speed.
- Bug Fix: When start KNetstats with a unavaliable interface, now upload speed is equals to 0pkts/s (not -2pkts/s)
- Bug Fix: When knetstats starts and statistics windows is hidden it is not updated.

v1.1.2

- Build system now uses kde-config instead $KDEDIR env. variable. This will solve problems when compiling KNetstats on some distros (Suse 9.1, Fedora).

v1.1.1

- Clicking on trayicon show/hide statistics window (suggestion by Fredy Yanardi).
- All dialogs now show the KNetStats icon on windows decoration.
- It's possible to change the font used in textmode (suggestion by Vik).


v1.1

- Bug Fix: Not saving UpdateInterval when the network interface is not changed.
- Litle optimizations
- Support to IconMode (Activity Led's) or TextMode (showing rx/tx transfer rate)

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
Details
license
version
1.6.2
updated Oct 03 2008
added Sep 17 2004
downloads 24h
0
page views 24h 4
System Tags app software