Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2] 3 4

Author Topic: Routerstats-style program for Linux  (Read 13061 times)

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39533
  • Penguins CAN fly
    • DSLstats
Re: Routerstats-style program for Linux
« Reply #15 on: July 31, 2012, 07:55:34 PM »

Thanks for the feedback b*cat

(1) Yes
(2) I'm planning to make the colours user-configurable
(3) Yes. The font size for the axis marks is 6pt, I can make it 8pt without using up too much space. Possibly another user configuration item...
(4) Possibly :)
Logged
  Eric

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: Routerstats-style program for Linux
« Reply #16 on: July 31, 2012, 08:37:14 PM »

Excellent Eric!

Storage of data in DSL stats programs is something that has previously been lacking, at least in terms of software for subscribers.  Maybe an SQL-based database storage, and separation of the logic for the graphing client and the data scraping client, etc.  Then other tools could be used to query or mine the database for complex analyses. 

It's really nice the way your graphs can be sized. That's where dmt fell down badly. It was okay for ADSL1 and perhaps 2+, but with all the tones in VDSL2 it just didn't provide enough screen real estate. Perhaps a 'ratio lock' checkbox to keep the window in fixed proportion.

Does that version of Pascal support threading so that the GUI remains responsive while the scraper continues to gather the data from the modem?

The discovery by arobertson545 of the Broadcom Diagnostic tool could be put to great use by tools like yours.   Many more metrics could be recorded - e.g. through the diagnostic interface, noise can be measured down to the millisecond or two. Whereas the dslcmd telnet client has a granularity of one second.

Keep up the good work!

cheers, a
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39533
  • Penguins CAN fly
    • DSLstats
Re: Routerstats-style program for Linux
« Reply #17 on: July 31, 2012, 10:54:36 PM »

Quote
Storage of data in DSL stats programs is something that has previously been lacking, at least in terms of software for subscribers.  Maybe an SQL-based database storage, and separation of the logic for the graphing client and the data scraping client, etc.  Then other tools could be used to query or mine the database for complex analyses.

I'd need advice on what form the data should take, but yes, definitely on the todo list.

Quote
It's really nice the way your graphs can be sized. That's where dmt fell down badly. It was okay for ADSL1 and perhaps 2+, but with all the tones in VDSL2 it just didn't provide enough screen real estate. Perhaps a 'ratio lock' checkbox to keep the window in fixed proportion.

A ratio lock would be simple as an option.

Quote
Does that version of Pascal support threading so that the GUI remains responsive while the scraper continues to gather the data from the modem?

As you no doubt noticed, the program seems to freeze for a few seconds while each sample is being read and processed. Yes, Freepascal supports multithreading (although I've no personal experience). http://wiki.freepascal.org/Multithreaded_Application_Tutorial
Logged
  Eric

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27895
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Routerstats-style program for Linux
« Reply #18 on: July 31, 2012, 11:53:27 PM »

For those persons who still practice the Black Art (and use BillyGatesWare on their systems) I attach four screenshots from Eric's utility, which is currently executing on my 32-bit workstation.

I approve of the icon. What could be more appropriate than the paw mark of a felis domesticus;D
« Last Edit: July 31, 2012, 11:56:00 PM by burakkucat »
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39533
  • Penguins CAN fly
    • DSLstats
Re: Routerstats-style program for Linux
« Reply #19 on: August 01, 2012, 06:56:03 AM »

Quote
I approve of the icon. What could be more appropriate than the paw mark of a felis domesticus?

I'm pleased you approve, but it's a leopard pawprint actually - definitely not domesticus. ;D
Logged
  Eric

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27895
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Routerstats-style program for Linux
« Reply #20 on: August 01, 2012, 06:44:27 PM »

Quote
I'm pleased you approve, but it's a leopard pawprint actually

b*cat suppresses the urge to give Eric his best black look and decides to attach three screenshots from the utility (original version) which had been left running overnight.

Notice the step in the graphs, just before noon (BST), resulting from when I initiated a new PPPoA connection and a re-sync with the MSAN by temporarily disconnecting the DSL cable from the SSFP.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39533
  • Penguins CAN fly
    • DSLstats
Re: Routerstats-style program for Linux
« Reply #21 on: August 01, 2012, 08:35:52 PM »

Thanks for your continuing testing b*cat. I'm pleased to see that rs-ux dealt calmly with your yanking out of the DSL cable. :)

I expect to be uploading a new version tomorrow, covering the points you raised previously, and also adding the capability to scroll the graphs horizontally.
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32223
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Routerstats-style program for Linux
« Reply #22 on: August 01, 2012, 08:39:17 PM »

Thanks for posting the screenies b*cat,   Its looking very good eric :thumbs:
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27895
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Routerstats-style program for Linux
« Reply #23 on: August 01, 2012, 09:23:48 PM »

Quote
Its looking very good eric :thumbs:

I'll second that!  :)
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39533
  • Penguins CAN fly
    • DSLstats
Re: Routerstats-style program for Linux
« Reply #24 on: August 02, 2012, 11:39:12 AM »

Thanks people.

Version 0.2 now available in 32-bit and 64-bit varieties at https://docs.google.com/folder/d/0BxbUtOYVZ_SCZ1BnY3RKYnN2b1U/edit

- added user configuration of graph colours
- increased font size of graph axis figures
- increased maximum time per page to 24 hours
- changed info displayed in status bar
- added horizontal scrolling of the graphs by dragging with the mouse
- some optimisations to improve the GUI responsiveness
- added 'Sampling' indicator (to indicate unresponsive period)
Logged
  Eric

Howlingwolf

  • Reg Member
  • ***
  • Posts: 107
Re: Routerstats-style program for Linux
« Reply #25 on: August 02, 2012, 12:06:05 PM »

Quote
Its looking very good eric :thumbs:

I'll second that!  :)

It definitely gets my vote.

On the storage issue. One possibility would be to convert the output from the xdsl/adsl stats cmd to a common plain text format and store it using SQLite.

That would put all the device specific logic in the front end away from the data analysis and eliminate any potential problems with endian-ness.

As an aside. While I was looking at the telnet stats tab, it occurred to me that I could do the data collection on the modem itself (hg612) or the router, both of which are MIPS32. Hence the concern with endian-ness :)
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27895
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Routerstats-style program for Linux
« Reply #26 on: August 02, 2012, 06:47:04 PM »

Version 0.2 now available in 32-bit and 64-bit varieties at https://docs.google.com/folder/d/0BxbUtOYVZ_SCZ1BnY3RKYnN2b1U/edit

Downloaded. I'll now give it a test on my 64-bit laptop.  :)
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

silversurfer44

  • Kitizen
  • ****
  • Posts: 4422
  • Lord Muck
    • Ben Novice Weather
Re: Routerstats-style program for Linux
« Reply #27 on: August 02, 2012, 06:55:40 PM »

I have a bit of a query here (no not me darling), seeing as how I now have two pieces of kit I.E. a modem & a router which should I be monitoring?
I haven't unlocked the Hub yet. I'm thinking would it be worth my while doing it. I haven't used routerstats in quite a while as I knew I would be disheartened by what I saw.
So would it be worth my while, or should I leave things as they are and wait until I have a reason to use Eric's excellent program? Hmm! :hmm:
Logged
Colin II : It's no good being a pessimist, it wouldn't work anyway.

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27895
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Routerstats-style program for Linux
« Reply #28 on: August 02, 2012, 07:42:41 PM »

I have a bit of a query here (no not me darling), seeing as how I now have two pieces of kit I.E. a modem & a router which should I be monitoring?

In a two word answer: The modem;)
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

silversurfer44

  • Kitizen
  • ****
  • Posts: 4422
  • Lord Muck
    • Ben Novice Weather
Re: Routerstats-style program for Linux
« Reply #29 on: August 02, 2012, 08:14:07 PM »

I might be being a bit thick here, but by your answer I feel I should be able to plug my Ethernet cable into the modem.
If this is so, what am I doing with a Home Hub? apart from adding the wifi into the mix.

Sorry Eric I don't mean to pinch your thread. If I need to go further I will start one of my own.
Logged
Colin II : It's no good being a pessimist, it wouldn't work anyway.
Pages: 1 [2] 3 4
 

anything