Author Topic: [Solved] digital network monitor  (Read 1761 times)

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: [Solved] digital network monitor
« Reply #15 on: January 08, 2013, 07:25:36 PM »
Just bring a bit of life to this thread regarding KNemo. Fond the thread when SEARCHing the forum for network data recording facility.   
I have installed KNemo and I quite like it.  Believe I have been through the configurations options and particularly looking for where the data is stored.

Found the following location but scratching my head, there is nothing in here?? Looked as root as well.

/home/gert/.kde4/share/apps/knemo/

What I am looking for is saved records say a daily graph or the saved data used by the traffic plotter.

Searched the net following the links in KNemo and KDE.

Question: Is there no data kept?
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11071
  • MLUs Forever!
Re: [Solved] digital network monitor
« Reply #16 on: January 09, 2013, 04:53:11 AM »
Because Knemo records the NIC traffic I would expect the storage of the info to not be in a user's home directory, but a system-wide location.

It 'appears' to use a Qt4 SQLite database plugin

Seems I was wrong!  ... again!

I have two db files in the  /home/user/.kde4/share/apps/knemo/  directory .....  one for eth0 and one for wlan
« Last Edit: January 09, 2013, 05:05:27 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: [Solved] digital network monitor
« Reply #17 on: January 09, 2013, 05:17:19 AM »
Just17
I was a bit preoccupied, I said location was empty, should have backed this up a bit with facts

Quote
[root@localhost yaralla-speedtest]# ls -al /home/user/.kde4/share/apps/knemo
total 8
drwx------  2 gert gert 4096 Jan  9 12:40 ./
drwxr-xr-x 32 gert gert 4096 Jan  9 12:40 ../
[root@localhost yaralla-speedtest]#      
 

Well you have confirmed what I was expecting, that there ought to have been something.  I did think that perhaps the data had landed somewhere else but have no clue what to look for at this stage.

How did you start knemo from the PC menu? or konsole?

Errrh, forgot to mention I did start in user konsole and got this message:

Quote
[gert@localhost yaralla-speedtest]$ knemo
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[gert@localhost yaralla-speedtest]$

I don't know what the implications are, I think I might just re-boot and see. I was reluctant to do that as I am running continuous regular speedtests on my internet connection today.
« Last Edit: January 09, 2013, 05:27:55 AM by wedgetail »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11071
  • MLUs Forever!
Re: [Solved] digital network monitor
« Reply #18 on: January 09, 2013, 05:26:01 AM »
I have Knemo running permanently - start automatically when you log in.

Remember this does not necessarily measure internet use .......  it measures the traffic through the specified NIC .....  which in my case is connected to a router and shares files with other PCs.

So the traffic reported in my case includes the videos and music that other PCs draw from this PC.

MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: [Solved] digital network monitor
« Reply #19 on: January 09, 2013, 06:03:19 AM »
Just17
Have just restartet hoping this would make sure the files showed up, but no empty directory.  Of course this time knemo was already running. Wee bit odd.

Yes I understand the complication if other traffic going through the router at the same time it gets a bit tricky.  The tests are download from my home page or an aarnet file of similar size and only my pc active on the lan here so I feel comfortable.
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11071
  • MLUs Forever!
Re: [Solved] digital network monitor
« Reply #20 on: January 09, 2013, 06:38:53 AM »
I suspect you have not ticked the box to "Activate Statistics"  ....  on the Statistics tab of each NIC.

MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: [Solved] digital network monitor
« Reply #21 on: January 09, 2013, 07:04:18 AM »
Just17
Your suspicion was right, not sure my brain is in residence at the moment. Thank you will be trying it soon.  I am looking for a dowload manager  but will start a new thread as seem to have got a bad start with jdownloder.  :)

I now have this:
Quote
/home/user/.kde4/share/apps/knemo/statistics_eth0.db
« Last Edit: January 09, 2013, 07:35:15 AM by wedgetail »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11071
  • MLUs Forever!
Re: [Solved] digital network monitor
« Reply #22 on: January 09, 2013, 07:19:16 AM »
Kget? .......
MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: [Solved] digital network monitor
« Reply #23 on: January 09, 2013, 07:36:25 AM »
Yes, I decided to have a look at that, looks promising but now it is ZZZzz here  ;D
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15515
  • ┌∩┐(◕_◕)┌∩┐
Re: [Solved] digital network monitor
« Reply #24 on: January 09, 2013, 07:49:55 AM »
+1 for KNemo

I backup my knemo folder each day as part of my backup routine (/home/me/.kde4/share/apps/knemo/)

Just had a quick look at my stats

PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: [Solved] digital network monitor
« Reply #25 on: January 09, 2013, 11:02:04 PM »
menotu
When seing your statsistics I decided to have a look at where I find that, but of course now that I have actually set my configuration to collect data I only have to click on statistics when opening via icon in the tray.   ;D

I have also found out it was not quite what I was after, but I am going to keep it as it has a number of other very nice features I can use.

The extra bit is historical graphing, so I can go back in time and see what I had at a given time slot. I am on a marginal line and have run in to variations of 10 times ie can be below dial speed of 20 kB/s and then later over 300 kB/s. Very interesting and part of the problem is in my house I have discovered.

Search goes on  ;D  
« Last Edit: January 09, 2013, 11:31:10 PM by wedgetail »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen