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] 5 6 ... 8

Author Topic: HG612 modem stats - multiple instances.  (Read 38618 times)

ColinS

  • Reg Member
  • ***
  • Posts: 529
Re: HG612 modem stats - multiple instances.
« Reply #45 on: August 27, 2013, 09:31:00 AM »

Eric,

I can confirm that DSLstats sampling period is also ~13-15secs on my old, slow, server, but I appreciate, as you said, that most of that time it's not logged into the modem.

I am no programmer, and I don't know how you've a) programmed this timer tick or b) how that's mapped down onto Windows, but I do wonder this:
AFAIK relatively speaking the speed of Kitz's machine is > Bald_Eagle's >> my aging server!  Kitz runs into this problem very quickly; BE more slowly; and it only happens to me very occasionally.

Could it possibly be something to do with the way this timer tick is mapped down onto windows?  Such that it differs from real-time dependent on the processor speed?
I am not in a position to say whether it is or not, just to ask the question, as it does seem, at least, to fit some of the evidence.  :(
Logged

ColinS

  • Reg Member
  • ***
  • Posts: 529
Re: HG612 modem stats - multiple instances.
« Reply #46 on: August 27, 2013, 09:40:47 AM »

And in addition, it seems that the HG612 will only accept a single full login to the shell, so a permanently logged in program would lock out any other monitoring programs which use telnet.
I've done some tests on this Eric, in test conditions - i.e. when neither DSLstats nor HG612modemstats were running.
on the HG612:
>= 5 concurrent telnet logins are possible and successful
however, of those, only 3 can be in the busybox shell (@ the # prompt) at any time
a 4th or subsequent attempt exits back to the ATP shell (@ the ATP> prompt)
if one of these 3 busybox instances is exited (manually, or by telnet session idle timeout) it will allow another to then be successful, but the limit (probably due to memory, as you have already suggested) remains 3
The HG612 HG622 controls it slightly differently:
no more than 3 concurrent telnet logins are successful.
a 4th or subsequent attempt is not allowed.

HTH

[Edit] Correction
« Last Edit: August 27, 2013, 11:35:47 AM by ColinS »
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43467
  • Penguins CAN fly
    • DSLstats
Re: HG612 modem stats - multiple instances.
« Reply #47 on: August 27, 2013, 10:59:42 AM »

Eric,

I can confirm that DSLstats sampling period is also ~13-15secs on my old, slow, server, but I appreciate, as you said, that most of that time it's not logged into the modem.

I am no programmer, and I don't know how you've a) programmed this timer tick or b) how that's mapped down onto Windows, but I do wonder this:
AFAIK relatively speaking the speed of Kitz's machine is > Bald_Eagle's >> my aging server!  Kitz runs into this problem very quickly; BE more slowly; and it only happens to me very occasionally.

Could it possibly be something to do with the way this timer tick is mapped down onto windows?  Such that it differs from real-time dependent on the processor speed?
I am not in a position to say whether it is or not, just to ask the question, as it does seem, at least, to fit some of the evidence.  :(

The high precision timer I'm using is EpikTimer . It's effectively an accurate stopwatch, so it doesn't have the capability to trigger events on its own. That's why I use it in conjunction with another much less accurate timer (alarm clock type) to trigger the start of a new sampling process. I set the 'alarm clock' to 10 milliseconds, and each time it fires it reads the 'stopwatch' to see if the next sample is due.

There may be a better way to do this, but there's no certain way to achieve a really accurate 'alarm clock' on all systems. There's no guarantee that every system will have a properly functioning NTP (or equivalent) implementation to maintain the accuracy of the system timer.

So I think that the solutions discussed above are probably the best way to keep the sampling times of the two programs apart to avoid conflicts.
Logged
  Eric

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43467
  • Penguins CAN fly
    • DSLstats
Re: HG612 modem stats - multiple instances.
« Reply #48 on: August 27, 2013, 11:09:12 AM »

And in addition, it seems that the HG612 will only accept a single full login to the shell, so a permanently logged in program would lock out any other monitoring programs which use telnet.
I've done some tests on this Eric, in test conditions - i.e. when neither DSLstats nor HG612modemstats were running.
on the HG612:
>= 5 concurrent telnet logins are possible and successful
however, of those, only 3 can be in the busybox shell (@ the # prompt) at any time
a 4th or subsequent attempt exits back to the ATP shell (@ the ATP> prompt)
if one of these 3 busybox instances is exited (manually, or by telnet session idle timeout) it will allow another to then be successful, but the limit (probably due to memory, as you have already suggested) remains 3
The HG612 controls it slightly differently:
no more than 3 concurrent telnet logins are successful.
a 4th or subsequent attempt is not allowed.

HTH


Thanks for doing those tests, Colin. It agrees with my findings on the HG622. So there is a little bit of leeway for up to three simultaneous BusyBox logins. Probably the conflicts, when they occur, are related to the times when the two programs are actually going through the login process at the same time - if one program is fully logged in when the other program starts to log in, that shouldn't be a conflict situation.
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 modem stats - multiple instances.
« Reply #49 on: August 27, 2013, 11:38:36 AM »

Quote
I've done some tests on this Eric, in test conditions - i.e. when neither DSLstats nor HG612modemstats were running.
on the HG612:
>= 5 concurrent telnet logins are possible and successful

Now Im really confused.   I have DSLstats paused & and Ive switched off logging for the HG612stats.

Yet I can still only open 3 telnet logins, as soon as I open the 4th I get "Kickout by others, the socket is closed" (see screen cap 1)

I can only access the sh once, further attempts give me the ATP> prompt  (see screen cap 2)

So WTH is using up my other sessions? ???
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

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43467
  • Penguins CAN fly
    • DSLstats
Re: HG612 modem stats - multiple instances.
« Reply #50 on: August 27, 2013, 11:59:44 AM »

There are various Linux commands which will tell you who is logged on (e.g. who, users, finger) but none of them appear to be implemented here.
Logged
  Eric

ColinS

  • Reg Member
  • ***
  • Posts: 529
Re: HG612 modem stats - multiple instances.
« Reply #51 on: August 27, 2013, 12:35:55 PM »

Now Im really confused.   I have DSLstats paused & and Ive switched off logging for the HG612stats.
Yet I can still only open 3 telnet logins, as soon as I open the 4th I get "Kickout by others, the socket is closed" (see screen cap 1)
I can only access the sh once, further attempts give me the ATP> prompt  (see screen cap 2)
So WTH is using up my other sessions? ???
Obviously, this made me repeat my tests (although I did them several times yesterday).  Like you, the results are slightly different today (see the attached image).
so, HG612
on the 5th telnet session today, one of the others also got 'kicked out' (This one had a busybox shell!)
and, only 2 busy box shells were allowed today.

So my guess is either there is another connected somewhere and not timed out (perhaps left by something?), or something has reduced the available memory in the modem.  In your case Kitz, it looks like there are two like that???

I need to resync the modem at some point, so it will be possible to repeat the tests again after that .... or these 'phantoms' may timeout .... or not ....  ???
« Last Edit: August 27, 2013, 12:39:02 PM by ColinS »
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 modem stats - multiple instances.
« Reply #52 on: August 27, 2013, 01:12:39 PM »

Quote
So my guess is either there is another connected somewhere and not timed out (perhaps left by something?), or something has reduced the available memory in the modem.  In your case Kitz, it looks like there are two like that???
Obviously :(

Quote
There are various Linux commands which will tell you who is logged on (e.g. who, users, finger) but none of them appear to be implemented here.

I too had a look earlier and cant seem to find a way of checking either.



Quote
RS/DMT have to disable the normal telnet timeout. If the program is terminated abruptly for any reason, that would leave an orphan login permanently resident in the router.

This concerns me ^ because I have used both RS and RSLite when I was updating some info for the main site. 
I did run RS for a while to monitor my atten before eric kindly put a log in DSLstats for me, but that was weeks ago.   Its been uplugged etc and done numerous resyncs, but I guess I should try another just to eliminate this.  Dont want to reboot right atm though..  the weather has been hot this w/e and my line is being temperamental again. 

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

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 modem stats - multiple instances.
« Reply #53 on: August 27, 2013, 05:10:35 PM »

Ive just done a full reboot of the modem, which seems to have freed up one session.

I can now open 4 instances to the Huawei telnet session, but only 2 instances to the Broadcom shell.   

So something is still tying up one instance of the Broadcom shell.  ???
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

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 modem stats - multiple instances.
« Reply #54 on: August 28, 2013, 01:59:09 PM »

Not quite sure what happened overnight, so Im listing all events that may be relevant.


1) I lost sync for a short while at about 12:15.   HG612stats doesnt seem to have caught this in the RESYNC.LOG, presumably because my sync speed came back up at the same rate?

2) The Scheduled current_stats for 06:00 didnt complete. It created a folder Current_Stats_20130828-0600-SCHEDULED.  This folder is empty apart from the Plink log

Last item in Current_Error.log is 
Code: [Select]
27/08/2013 22:00:10.707 - Snapshot graphs should now have been plotted
27/08/2013 22:00:10.707 - End of HG612_current_stats.exe program, closing ERROR.LOG

CURRENT-ISRUNNING-060002-465 is empty (0 bytes)

3) In Task Manager I have lots of multiple instances of:

cmd.exe
conhost.exe
HG612_stats.exe
isRunningVB.exe

Theres also a lot of ONGOING_ISRUNNING files in the Scripts folder.  All with the prefix 101154 eg ONGOING-ISRUNNING-101154-[010 to 184]


ERROR.LOG_File_ERROR.TXT

Seemed to be ok up until 06:00 am

Code: [Select]

28/08/2013  5:59:00.38 - In HG612_stats.exe - At the start of the main() function,
28/08/2013  5:59:00.44 - There are 1 instances of HG612_stats.exe running. Status = 0,
28/08/2013  5:59:02.26 - Normal End of In HG612_stats.exe


28/08/2013  6:00:00.39 - In HG612_stats.exe - At the start of the main() function,
28/08/2013  6:00:00.45 - There are 1 instances of HG612_stats.exe running. Status = 0,


28/08/2013  6:01:00.38 - In HG612_stats.exe - At the start of the main() function,
28/08/2013  6:01:00.44 - There are 2 instances of HG612_stats.exe running. Status = 0,

.../snip/...

28/08/2013 13:43:00.70 - In HG612_stats.exe - At the start of the main() function,
28/08/2013 13:43:17.03 - There are 221 instances of HG612_stats.exe running. Status = 0,

28/08/2013 13:44:00.67 - In HG612_stats.exe - At the start of the main() function,
28/08/2013 13:44:16.92 - There are 222 instances of HG612_stats.exe running. Status = 0,


The ERROR.LOG in \Ongoing_Stats is very strange - Look at the times.  It was fine up until 06:00 then this started happening

Code: [Select]
*********************************************************************************************************************
28/08/2013 05:59:02.240 - Scheduled Daily_Graphing is switched ON via the ini file
28/08/2013 05:59:02.240 - Daily_Graphing_hour    = 23
28/08/2013 05:59:02.240 - Daily_Graphing_minutes = 58
28/08/2013 05:59:02.240 - Current Time is Hours 05, Minutes 59
28/08/2013 05:59:02.240 - scheduled Daily_Graphing is NOT due yet
*********************************************************************************************************************
28/08/2013 05:59:02.240 - End of HG612_stats.exe program, EXIT error code = 0
28/08/2013 05:59:02.240 - End of HG612_stats.exe program, closing ERROR.LOG


28/08/2013 08:56:11.158 - [ IN HG612_stats.EXE ] - Start of 1 minute sampling
28/08/2013 08:56:21.413 - From IsRunningVB.exe, HG612_current_stats.exe is running 1 instances.
28/08/2013 10:11:54.010 - HG612_current_stats.exe has now completed, so HG612_current_stats.exe is resuming.
28/08/2013 10:11:54.010 - Temp File ONGOING-ISRUNNING-101154-010.TXT was created
28/08/2013 10:12:04.428 - *** Now in exit_2_instances as there are 252 instances of HG612_stats.exe running. Status = 1.
28/08/2013 10:12:05.195 - *** In exit_2_instances - Closing ERROR.LOG. Status = 1.


28/08/2013 09:53:18.540 - [ IN HG612_stats.EXE ] - Start of 1 minute sampling
28/08/2013 09:53:35.622 - From IsRunningVB.exe, HG612_current_stats.exe is running 1 instances.
28/08/2013 10:11:54.015 - HG612_current_stats.exe has now completed, so HG612_current_stats.exe is resuming.
28/08/2013 10:11:54.015 - Temp File ONGOING-ISRUNNING-101154-015.TXT was created
28/08/2013 10:12:05.020 - *** Now in exit_2_instances as there are 252 instances of HG612_stats.exe running. Status = 1.
28/08/2013 10:12:05.250 - *** In exit_2_instances - Closing ERROR.LOG. Status = 1.


.../snip/..   (look at how it now goes backward in time)


28/08/2013 06:35:01.074 - [ IN HG612_stats.EXE ] - Start of 1 minute sampling
28/08/2013 06:35:01.151 - From IsRunningVB.exe, HG612_current_stats.exe is running 1 instances.
28/08/2013 10:11:54.129 - HG612_current_stats.exe has now completed, so HG612_current_stats.exe is resuming.
28/08/2013 10:11:54.129 - Temp File ONGOING-ISRUNNING-101154-129.TXT was created
28/08/2013 10:12:26.213 - *** Now in exit_2_instances as there are 253 instances of HG612_stats.exe running. Status = 1.
28/08/2013 10:12:26.820 - *** In exit_2_instances - Closing ERROR.LOG. Status = 1.


28/08/2013 06:48:01.108 - [ IN HG612_stats.EXE ] - Start of 1 minute sampling
28/08/2013 06:48:01.268 - From IsRunningVB.exe, HG612_current_stats.exe is running 1 instances.
28/08/2013 10:11:54.123 - HG612_current_stats.exe has now completed, so HG612_current_stats.exe is resuming.
28/08/2013 10:11:54.123 - Temp File ONGOING-ISRUNNING-101154-123.TXT was created
28/08/2013 10:12:26.510 - *** Now in exit_2_instances as there are 253 instances of HG612_stats.exe running. Status = 1.
28/08/2013 10:12:27.119 - *** In exit_2_instances - Closing ERROR.LOG. Status = 1.


28/08/2013 08:09:06.492 - [ IN HG612_stats.EXE ] - Start of 1 minute sampling
28/08/2013 08:09:11.726 - From IsRunningVB.exe, HG612_current_stats.exe is running 1 instances.
28/08/2013 10:11:54.133 - HG612_current_stats.exe has now completed, so HG612_current_stats.exe is resuming.
28/08/2013 10:11:54.133 - Temp File ONGOING-ISRUNNING-101154-133.TXT was created
28/08/2013 10:12:26.498 - *** Now in exit_2_instances as there are 253 instances of HG612_stats.exe running. Status = 1.
28/08/2013 10:12:27.124 - *** In exit_2_instances - Closing ERROR.LOG. Status = 1.


28/08/2013 06:21:00.657 - [ IN HG612_stats.EXE ] - Start of 1 minute sampling
28/08/2013 06:21:00.727 - From IsRunningVB.exe, HG612_current_stats.exe is running 1 instances.
28/08/2013 10:11:54.127 - HG612_current_stats.exe has now completed, so HG612_current_stats.exe is resuming.
28/08/2013 10:11:54.127 - Temp File ONGOING-ISRUNNING-101154-127.TXT was created
28/08/2013 10:12:26.812 - *** Now in exit_2_instances as there are 253 instances of HG612_stats.exe running. Status = 1.
28/08/2013 10:12:27.292 - *** In exit_2_instances - Closing ERROR.LOG. Status = 1.

.../snip/..

8/08/2013 09:46:17.294 - [ IN HG612_stats.EXE ] - Start of 1 minute sampling
28/08/2013 09:46:33.284 - From IsRunningVB.exe, HG612_current_stats.exe is running 1 instances.
28/08/2013 10:11:54.165 - HG612_current_stats.exe has now completed, so HG612_current_stats.exe is resuming.
28/08/2013 10:11:54.165 - Temp File ONGOING-ISRUNNING-101154-165.TXT was created
28/08/2013 10:12:28.156 - *** Now in exit_2_instances as there are 113 instances of HG612_stats.exe running. Status = 1.
28/08/2013 10:12:28.232 - *** In exit_2_instances - Closing ERROR.LOG. Status = 1.


28/08/2013 07:37:04.234 - [ IN HG612_stats.EXE ] - Start of 1 minute sampling
28/08/2013 07:37:07.117 - From IsRunningVB.exe, HG612_current_stats.exe is running 1 instances.
28/08/2013 10:11:54.146 - HG612_current_stats.exe has now completed, so HG612_current_stats.exe is resuming.
28/08/2013 10:11:54.146 - Temp File ONGOING-ISRUNNING-101154-146.TXT was created
28/08/2013 10:12:28.148 - *** Now in exit_2_instances as there are 113 instances of HG612_stats.exe running. Status = 1.
28/08/2013 10:12:28.236 - *** In exit_2_instances - Closing ERROR.LOG. Status = 1.



-------------------

PS

The 2pm currentstats didnt run either and HG612_current_stats.exe got stuck in task manager.

Ive now cleared all stale instance of HG612stats and everything seems to be working ok again.   - Well at least its started beeping at me again :D 

« Last Edit: August 28, 2013, 02:29:31 PM by kitz »
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

ColinS

  • Reg Member
  • ***
  • Posts: 529
Re: HG612 modem stats - multiple instances.
« Reply #55 on: August 28, 2013, 03:22:25 PM »

253 instances - that must be some kind of world record! :D

there is another ERROR.LOG_File_ERROR.TXT in the /Scripts directory. Perhaps you could post the relevant extracts from that too?  Thanks.
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: HG612 modem stats - multiple instances.
« Reply #56 on: August 28, 2013, 04:17:18 PM »

 :hmm:  Perhaps it is time for No-Feathers to take Mrs Eagle on a day-trip to Blackpool?  :angel:
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.

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 modem stats - multiple instances.
« Reply #57 on: August 28, 2013, 05:09:15 PM »

253 instances - that must be some kind of world record! :D

hahaha.. not even close...  I racked up nearly 900 at the w/e..  which is when I cursed cause I couldnt clear them all in task manager and had something open so I didnt want to reboot.    I had to reboot in the end cause the PC locked up..  think there was something like 1800+ processes in task manager.  All 8 of the core/processes windows were going crazy

Quote
there is another ERROR.LOG_File_ERROR.TXT in the /Scripts directory. Perhaps you could post the relevant extracts from that too?  Thanks.

I can only see one & that's posted above - 2nd set of the code samples
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

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 modem stats - multiple instances.
« Reply #58 on: August 28, 2013, 05:22:42 PM »

Oh... I found another error log in \Ongoing_Stats\ERROR.LOG_file_ERROR.TXT

Is this what you wanted?

Code: [Select]
28/08/2013  5:59:02.22 - ONGOING-ISRUNNING-055900-561.TXT - Now in exit. Status = 1,
28/08/2013  5:59:02.23 - ONGOING-ISRUNNING-055900-561.TXT - ONGOING-ISRUNNING-055900-561.TXT DELETED - Status = 1,
28/08/2013  5:59:02.25 - ONGOING-ISRUNNING-055900-561.TXT - End of HG612_stats.exe. Status = 1,


28/08/2013  6:00:00.48 - In HG612_stats.exe - After ini_parse(). ERROR.LOG status = 0,
28/08/2013  6:00:00.50 - working_directory = C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Scripts - ERROR.LOG status = 0,
28/08/2013  6:00:00.51 - After attempting to open ERROR.LOG, ERROR.LOG status = 1
28/08/2013  6:00:00.57 - About to create ONGOING-ISRUNNING-060000-562.TXT Status = 1,
28/08/2013  6:00:00.58 - ONGOING-ISRUNNING-060000-562.TXT created. Status = 1,
28/08/2013  6:00:00.70 - ONGOING-ISRUNNING-060000-562.TXT - There are 1 instances of HG612_stats.exe running. Status = 1,
28/08/2013  6:00:00.71 - ONGOING-ISRUNNING-060000-562.TXT - ** Continuing as there are only 1 instances of HG612_stats.exe running **. Status = 1,
28/08/2013  6:00:00.72 - ONGOING-ISRUNNING-060000-562.TXT - C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Ongoing_Stats\ERROR.LOG opened for appending. Status = 1,
28/08/2013  6:00:00.73 - ONGOING-ISRUNNING-060000-562.TXT - malloc() O.K. Status = 1,
28/08/2013  6:00:00.74 - ONGOING-ISRUNNING-060000-562.TXT - WSAStartup() SUCCESSFUL!!! Status = 1,
28/08/2013  6:00:00.76 - ONGOING-ISRUNNING-060000-562.TXT - getaddrinfo() O.K. Status = 1,
28/08/2013  6:00:00.77 - ONGOING-ISRUNNING-060000-562.TXT - connect() O.K. Status = 1,
28/08/2013  6:00:00.78 - ONGOING-ISRUNNING-060000-562.TXT - ********** DEBUG VERSION - Trying the HG622 bodge. Status = 1. **********
28/08/2013  6:00:00.79 - ONGOING-ISRUNNING-060000-562.TXT - About to log in to the modem. Status = 1,
28/08/2013  6:00:00.98 - ONGOING-ISRUNNING-060000-562.TXT - **** expect("gin:") O.K. Status = 1.
28/08/2013  6:00:00.99 - ONGOING-ISRUNNING-060000-562.TXT - **** reply(config.Username) O.K. Status = 1.
28/08/2013  6:00:01.20 - ONGOING-ISRUNNING-060000-562.TXT - **** expect("ssword:") O.K. Status = 1.
28/08/2013  6:00:01.22 - ONGOING-ISRUNNING-060000-562.TXT - **** reply(config.Password) O.K. Status = 1.
28/08/2013  6:00:01.42 - ONGOING-ISRUNNING-060000-562.TXT - **** expect("ATP>") O.K. Status = 1.
28/08/2013  6:00:01.43 - ONGOING-ISRUNNING-060000-562.TXT - **** reply(config.Shell) O.K. Status = 1.
28/08/2013  6:00:01.64 - ONGOING-ISRUNNING-060000-562.TXT - **** expect("# ") O.K. Status = 1.
28/08/2013  6:00:01.66 - ONGOING-ISRUNNING-060000-562.TXT - **** Reaching this point means logging in to the modem was successful. Status = 1,
28/08/2013  6:00:01.67 - ONGOING-ISRUNNING-060000-562.TXT - After xdslcmd info --stats(), ERROR.LOG status = 1
28/08/2013  6:00:01.90 - ONGOING-ISRUNNING-060000-562.TXT - After xdslcmd info --pbParams(), ERROR.LOG status = 1
28/08/2013  6:00:02.30 - ONGOING-ISRUNNING-060000-562.TXT - Logged out of modem O.K. Status = 1,
28/08/2013  6:00:02.34 - ONGOING-ISRUNNING-060000-562.TXT - get_log_data() completed. Status = 1,
28/08/2013  6:00:02.36 - ONGOING-ISRUNNING-060000-562.TXT - Appending data to C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Ongoing_Stats\modem_stats.log - Status = 1,
28/08/2013  6:00:02.37 - ONGOING-ISRUNNING-060000-562.TXT - Data has now been written to MSLOGFILE (C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Ongoing_Stats\modem_stats.log) - Status = 1,
28/08/2013  6:00:02.39 - ONGOING-ISRUNNING-060000-562.TXT - Now in exit. Status = 1,
28/08/2013  6:00:02.40 - ONGOING-ISRUNNING-060000-562.TXT - ONGOING-ISRUNNING-060000-562.TXT DELETED - Status = 1,


28/08/2013  6:01:00.47 - In HG612_stats.exe - After ini_parse(). ERROR.LOG status = 0,
28/08/2013  6:01:00.48 - working_directory = C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Scripts - ERROR.LOG status = 0,
28/08/2013  6:01:00.50 - After attempting to open ERROR.LOG, ERROR.LOG status = 1


28/08/2013  6:02:00.48 - In HG612_stats.exe - After ini_parse(). ERROR.LOG status = 0,
28/08/2013  6:02:00.50 - working_directory = C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Scripts - ERROR.LOG status = 0,
28/08/2013  6:02:00.51 - After attempting to open ERROR.LOG, ERROR.LOG status = 1


28/08/2013  6:03:00.49 - In HG612_stats.exe - After ini_parse(). ERROR.LOG status = 0,
28/08/2013  6:03:00.50 - working_directory = C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Scripts - ERROR.LOG status = 0,
28/08/2013  6:03:00.52 - After attempting to open ERROR.LOG, ERROR.LOG status = 1


28/08/2013  6:04:00.54 - In HG612_stats.exe - After ini_parse(). ERROR.LOG status = 0,
28/08/2013  6:04:00.55 - working_directory = C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Scripts - ERROR.LOG status = 0,
28/08/2013  6:04:00.57 - After attempting to open ERROR.LOG, ERROR.LOG status = 1

I note that at 6:00 there was no "End of HG612_stats.exe. Status = 1,"

This continues until 14:08, which is when I stopped everything to clear out all the running HG612 processes and ongoing_stats... and started afresh at 14:15.

Unsurprisingly no current_stats were produced at the (8 hour scheduled) 14:00 run either.


Code: [Select]
28/08/2013 14:08:01.25 - In HG612_stats.exe - After ini_parse(). ERROR.LOG status = 0,
28/08/2013 14:08:01.41 - working_directory = C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Scripts - ERROR.LOG status = 0,
28/08/2013 14:08:01.45 - After attempting to open ERROR.LOG, ERROR.LOG status = 1


28/08/2013 14:15:00.59 - In HG612_stats.exe - After ini_parse(). ERROR.LOG status = 0,
28/08/2013 14:15:00.60 - working_directory = C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Scripts - ERROR.LOG status = 0,
28/08/2013 14:15:00.62 - After attempting to open ERROR.LOG, ERROR.LOG status = 1
28/08/2013 14:15:00.68 - About to create ONGOING-ISRUNNING-141500-678.TXT Status = 1,
28/08/2013 14:15:00.69 - ONGOING-ISRUNNING-141500-678.TXT created. Status = 1,
28/08/2013 14:15:00.84 - ONGOING-ISRUNNING-141500-678.TXT - There are 1 instances of HG612_stats.exe running. Status = 1,
28/08/2013 14:15:00.85 - ONGOING-ISRUNNING-141500-678.TXT - ** Continuing as there are only 1 instances of HG612_stats.exe running **. Status = 1,
28/08/2013 14:15:00.86 - ONGOING-ISRUNNING-141500-678.TXT - C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Ongoing_Stats\ERROR.LOG opened for appending. Status = 1,
28/08/2013 14:15:00.87 - ONGOING-ISRUNNING-141500-678.TXT - malloc() O.K. Status = 1,
28/08/2013 14:15:00.88 - ONGOING-ISRUNNING-141500-678.TXT - WSAStartup() SUCCESSFUL!!! Status = 1,
28/08/2013 14:15:00.89 - ONGOING-ISRUNNING-141500-678.TXT - getaddrinfo() O.K. Status = 1,
28/08/2013 14:15:00.90 - ONGOING-ISRUNNING-141500-678.TXT - connect() O.K. Status = 1,
28/08/2013 14:15:00.92 - ONGOING-ISRUNNING-141500-678.TXT - ********** DEBUG VERSION - Trying the HG622 bodge. Status = 1. **********
28/08/2013 14:15:00.93 - ONGOING-ISRUNNING-141500-678.TXT - About to log in to the modem. Status = 1,
28/08/2013 14:15:01.10 - ONGOING-ISRUNNING-141500-678.TXT - **** expect("gin:") O.K. Status = 1.
28/08/2013 14:15:01.12 - ONGOING-ISRUNNING-141500-678.TXT - **** reply(config.Username) O.K. Status = 1.
28/08/2013 14:15:01.31 - ONGOING-ISRUNNING-141500-678.TXT - **** expect("ssword:") O.K. Status = 1.
28/08/2013 14:15:01.33 - ONGOING-ISRUNNING-141500-678.TXT - **** reply(config.Password) O.K. Status = 1.
28/08/2013 14:15:01.52 - ONGOING-ISRUNNING-141500-678.TXT - **** expect("ATP>") O.K. Status = 1.
28/08/2013 14:15:01.54 - ONGOING-ISRUNNING-141500-678.TXT - **** reply(config.Shell) O.K. Status = 1.
28/08/2013 14:15:01.75 - ONGOING-ISRUNNING-141500-678.TXT - **** expect("# ") O.K. Status = 1.
28/08/2013 14:15:01.77 - ONGOING-ISRUNNING-141500-678.TXT - **** Reaching this point means logging in to the modem was successful. Status = 1,
28/08/2013 14:15:01.78 - ONGOING-ISRUNNING-141500-678.TXT - After xdslcmd info --stats(), ERROR.LOG status = 1
28/08/2013 14:15:02.01 - ONGOING-ISRUNNING-141500-678.TXT - After xdslcmd info --pbParams(), ERROR.LOG status = 1
28/08/2013 14:15:02.40 - ONGOING-ISRUNNING-141500-678.TXT - Logged out of modem O.K. Status = 1,
28/08/2013 14:15:02.43 - ONGOING-ISRUNNING-141500-678.TXT - get_log_data() completed. Status = 1,
28/08/2013 14:15:02.45 - ONGOING-ISRUNNING-141500-678.TXT - Appending data to C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Ongoing_Stats\modem_stats.log - Status = 1,
28/08/2013 14:15:02.46 - ONGOING-ISRUNNING-141500-678.TXT - Data has now been written to MSLOGFILE (C:\Users\kitz\Desktop\Connection\HG612_Modem_Stats\Ongoing_Stats\modem_stats.log) - Status = 1,
28/08/2013 14:15:02.48 - ONGOING-ISRUNNING-141500-678.TXT - Now in exit. Status = 1,
28/08/2013 14:15:02.49 - ONGOING-ISRUNNING-141500-678.TXT - ONGOING-ISRUNNING-141500-678.TXT DELETED - Status = 1,
28/08/2013 14:15:02.50 - ONGOING-ISRUNNING-141500-678.TXT - End of HG612_stats.exe. Status = 1,


« Last Edit: August 28, 2013, 05:38:56 PM by kitz »
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

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 modem stats - multiple instances.
« Reply #59 on: August 28, 2013, 05:54:32 PM »


Quote
There are various Linux commands which will tell you who is logged on (e.g. who, users, finger) but none of them appear to be implemented here.

I too had a look earlier and cant seem to find a way of checking either.


If anyone is interested..  I cant find a way to check users logged into the Broadcom shell, but the following command appears works for the Huawei console

ATP> display login

This is the results with just me logged in via telnet

Code: [Select]
ATP>display login

=============================
User Name     : admin
Login IP      : 192.168.1.10
Login Time    : 2013-08-28 17:44:34
Login TimeLen : 1(Mins) 57(Secs)

ATP>display login

and this is catching DSLstats doing a sample

Code: [Select]
ATP>display login

=============================
User Name     : admin
Login IP      : 192.168.1.10
Login Time    : 2013-08-28 17:44:48
Login TimeLen : 7(Secs)

=============================
User Name     : admin
Login IP      : 192.168.1.10
Login Time    : 2013-08-28 17:44:34
Login TimeLen : 21(Secs)

ATP>display login




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
Pages: 1 2 3 [4] 5 6 ... 8
 

anything