BE, I've tested last nights version.
This is the contents of the ERROR_LOG_file_ERROR.TXT when it crashes.
17/10/2013 8:04:00.20 - In [HG612_stats.exe] - After ini_parse(). ERROR.LOG status = 0,
17/10/2013 8:04:00.23 - ERROR.LOG successfully opened. Status = 1,
17/10/2013 8:04:00.46 - ONGOING-ISRUNNING-080400-328.TXT - There are 1 instances of HG612_stats.exe running. Status = 1,
17/10/2013 8:04:00.50 - ONGOING-ISRUNNING-080400-328.TXT - ** Continuing as there are only 1 instances of HG612_stats.exe running **. Status = 1,
17/10/2013 8:04:01.51 - ONGOING-ISRUNNING-080400-328.TXT - **** Reaching this point means logging in to the modem was successful. Status = 1,
17/10/2013 8:04:01.53 - ONGOING-ISRUNNING-080400-328.TXT - After xdslcmd info --stats(), ERROR.LOG status = 1
17/10/2013 8:04:01.70 - ONGOING-ISRUNNING-080400-328.TXT - After xdslcmd info --pbParams(), ERROR.LOG status = 1
17/10/2013 8:04:02.10 - ONGOING-ISRUNNING-080400-328.TXT - Logged out of modem O.K. Status = 1,
17/10/2013 8:04:02.18 - ONGOING-ISRUNNING-080400-328.TXT - Now in exit. Status = 1,
17/10/2013 8:04:02.21 - ONGOING-ISRUNNING-080400-328.TXT - *** WSACleanup has completed.
This is the contents of the CMD window.
C:\HG612_Modem_Stats\Scripts>hg612_stats
progname = hg612_stats
The local time is: 08:04:00.140
A log file wasn't specified
argv[1] = (null)
path_only is C:\HG612_Modem_Stats\Scripts
At the start, working_directory (i.e. log_file_path) is
error from ini_parse_file() = 0
Before setting from config.Extensive_event_logging, DEBUG_COMMENTS = YES
From HG612_stats.ini hard coding, the ongoing log_file = C:\HG612_Modem_Stats\On
going_Stats\modem_stats.log
error_log_file = C:\HG612_Modem_Stats\Ongoing_Stats\ERROR.LOG
xlog_file = C:\HG612_Modem_Stats\Ongoing_Stats\xlogfile.txt
Temp File ONGOING-ISRUNNING-080400-328.TXT was created
'tasklist' is not recognized as an internal or external command,
operable program or batch file.
From HG612_stats.ini, Mode = extensive
Modex = 2
In switch, from HG612_stats.ini, Mode = extensive
Modem in use = HG622
VDSL2
Bearer_or Path = Bearer:, US sync = 6076, DS sync = 33690
Profile = 17a
MSGc = 18 DS & 33 US
October 2013 Firmware update = YES
Bitswap DS = 128495 / 93
parse_PbParams UPDATED FIRMWARE
firmware updated = YES
hgp.us_discovery_bp1_from = 6
hgp.us_discovery_bp1_to = 31
hgp.us_discovery_bp2_from = 882
hgp.us_discovery_bp2_to = 1193
hgp.us_discovery_bp3_from = 1984
hgp.us_discovery_bp3_to = 2770
hgp.ds_discovery_bp1_from = 33
hgp.ds_discovery_bp1_to = 857
hgp.ds_discovery_bp2_from = 1218
hgp.ds_discovery_bp2_to = 1959
hgp.ds_discovery_bp3_from = 2795
hgp.ds_discovery_bp3_to = 4083
hgp.us_line_attenuation_U0 = 3.8
hgp.us_line_attenuation_U1 = 41.6
hgp.us_line_attenuation_U2 = 60.1
hgp.us_line_attenuation_U3 = 0.0
hgp.us_line_attenuation_U4 = 0.0
hgp.ds_line_attenuation_D1 = 19.1
hgp.ds_line_attenuation_D2 = 52.5
hgp.ds_line_attenuation_D3 = 85.2
hgp.us_signal_attenuation_U0 = 3.8
hgp.us_signal_attenuation_U1 = 41.6
hgp.us_signal_attenuation_U2 = 0.0
hgp.us_signal_attenuation_U3 = 0.0
hgp.us_signal_attenuation_U4 = 0.0
hgp.ds_signal_attenuation_D1 = 19.9
hgp.ds_signal_attenuation_D2 = 52.1
hgp.ds_signal_attenuation_D3 = 0.0
SNR itch_buffer1 = SNR Margin(dB): 6.1 6.0 N/A N/A
N/A 6.6 6.4 N/A
SNR itch_buffer2 = 6.1 6.0 N/A N/A N/A 6.6 6.4 N/A
hgp.us_snr_margin_U0 = 6.1
hgp.us_snr_margin_U1 = 6.0
hgp.us_snr_margin_U2 = 0.0
hgp.us_snr_margin_U3 = 0.0
hgp.us_snr_margin_U4 = 0.0
hgp.ds_snr_margin_D1 = 6.6
hgp.ds_snr_margin_D2 = 6.4
hgp.ds_snr_margin_D3 = 0.0
tx_power itch_buffer1 = TX Power(dBm): 2.0 -1.2 N/A
N/A N/A 8.5 7.3 N/A
tx_power itch_buffer2 = 2.0 -1.2 N/A N/A N/A 8.5 7.3
N/A
hgp.us_tx_power_U0 = 2.0
hgp.us_tx_power_U1 = -1.2
hgp.us_tx_power_U2 = 0.0
hgp.us_tx_power_U3 = 0.0
hgp.us_tx_power_U4 = 0.0
hgp.ds_tx_power_D1 = 8.5
hgp.ds_tx_power_D2 = 7.3
hgp.ds_tx_power_D3 = 0.0
17/10/2013 08:04 Showtime 1 42220 6058 0 33690 6076 L0 VDSL2 VDSL2 B 17a PTM ON
ON No Showtime 6.6 6.0 24.5 0.0 11.0 3.7 47 190 1 1 64 5 16 16 0.0453 0.9988 112
96 1658 1429 1 64 207 64 207 64191396 147514 125 164 3548009048 1195602 17402644
35 495 6062 0 1300 0 63 0 63 0 3510031809 0 28579124 0 0 0 0 329 105 271 0 333 6
2 186944 8.00 0.00 2.91 16.29 16.00 0.00 65.92 19.14 128495 93 2100750925 548 35
14 180 329 105 271 0 333 62 2 0 12 0 7229835 0 0 0 0 0 0 0 0 0 0 0 0 0 8346195 2
6 0 9 0 5 0 0 0 0 0 0 0 0 588903598 107 10 31 3 18 0 0 0 0 0 0 0 0 797504642 297
78 109 18 57 0 0 0 0 0 0 0 0 1740264435 495 125 164 27 89 0 0 0 0 0 0 0 0 secon
ds since the Epoch: 1381993440
size of modem_stats.log is 79848361
fseek_success = 0
captured:
17/10/2013 08:03 33690 6076 6.4 6.0 11.0 3.7 41876 6061 PTM 3514 180 2100172596
548 1300 0 186884 0 0 560095 0 51.912 1739686106 495 560095 64170792 143836 2025
9 125 164 0 3542734654 956603 5186497 6062 0 0 1429 1 329 105 271 0 0 0 0 239519
3687 0 3.8 41.6 60.1 0.0 19.1 52.5 85.2 3.8 41.6 0.0 0.0 19.9 52.1 0.0 6.0 6.0
0.0 0.0 6.4 6.3 0.0 2.0 -1.2 0.0 0.0 8.5 7.3 0.0 Showtime 1 0 L0 17a ON ON No Sh
owtime 24.5 0.0 47 190 1 1 64 5 16 16 0.0453 0.9988 11296 1658 63 0 63 0 3506148
141 0 28578769 0 0 0 0 333 62 8.00 0.00 2.91 16.29 16.00 0.00 65.92 19.14 128452
93 VDSL2 42 0
previous_day as string = 17
previous_month as string = 10
previous_year as string = 2013
previous_hour as string = 08
previous_minute as string = 03
seconds since the Epoch: 1381993380
time_difference between current time & previous log time = 1 minutes
Total DS ES = 329
Total US ES = 105
PREVIOUS_DS_ES = 329
PREVIOUS_US_ES = 105
At START, DS_ES_THIS_PERIOD = 0
At START, US_ES_THIS_PERIOD = 0
file EXISTS!
After calculating, DS_ES_THIS_PERIOD = 0
After calculating, US_ES_THIS_PERIOD = 0
DS_ES_THIS_PERIOD = 0, i.e. LESS THAN OR EQUAL TO 60
US_ES_THIS_PERIOD = 0, i.e. LESS THAN OR EQUAL TO 60
Total DS RSCorr = 1740264435
Total US RSCorr = 495
PREVIOUS_DS_RSCorr = 1739686106
PREVIOUS_US_RSCorr = 495
At START, DS_RSCorr_THIS_PERIOD = 0
At START, US_RSCorr_THIS_PERIOD = 0
file EXISTS!
After calculating, DS_RSCorr_THIS_PERIOD = 578329
Total DS RSUnCorr = 6062
Total US RSUnCorr = 0
PREVIOUS_DS_RSUnCorr = 6062
PREVIOUS_US_RSUnCorr = 0
At START, DS_RSUnCorr_THIS_PERIOD = 0
At START, US_RSUnCorr_THIS_PERIOD = 0
file EXISTS!
Total DS RS = 3548009048
Total US RS = 1195602
PREVIOUS_DS_RS = 3542734654
PREVIOUS_US_RS = 956603
At START, DS_RS_THIS_PERIOD = 0
At START, US_RS_THIS_PERIOD = 0
file EXISTS!
After calculating, DS_RS_THIS_PERIOD = 5274394
After calculating, US_RS_THIS_PERIOD = 238999
Total DS OHF = 64191396
Total US OHF = 147514
PREVIOUS_DS_OHF = 64170792
PREVIOUS_US_OHF = 143836
At START, DS_OHF_THIS_PERIOD = 0
At START, US_OHF_THIS_PERIOD = 0
file EXISTS!
After calculating, DS_OHF_THIS_PERIOD = 20604
After calculating, US_OHF_THIS_PERIOD = 3678
Total DS OHFErr = 125
Total US OHFErr = 164
PREVIOUS_DS_OHFErr = 125
PREVIOUS_US_OHFErr = 164
At START, DS_OHFErr_THIS_PERIOD = 0
At START, US_OHFErr_THIS_PERIOD = 0
time_difference = 60
file EXISTS!
Total DS HEC = 1300
Total US HEC = 0
PREVIOUS_DS_HEC = 1300
PREVIOUS_US_HEC = 0
At START, DS_HEC_THIS_PERIOD = 0
At START, US_HEC_THIS_PERIOD = 0
file EXISTS!
Total DS CRC = 3514
Total US CRC = 180
PREVIOUS_DS_CRC = 3514
PREVIOUS_US_CRC = 180
At START, DS_CRC_THIS_PERIOD = 0
At START, US_CRC_THIS_PERIOD = 0
file EXISTS!
Total DS FEC = 2100750925
Total US FEC = 548
PREVIOUS_DS_FEC = 2100172596
PREVIOUS_US_FEC = 548
At START, DS_FEC_THIS_PERIOD = 0
At START, US_FEC_THIS_PERIOD = 0
file EXISTS!
After calculating, DS_FEC_THIS_PERIOD = 578329
log_stats.mode = VDSL2
Total DS bitswap = 128495
Total US bitswap = 93
PREVIOUS_DS_bitswap = 128452
PREVIOUS_US_bitswap = 93
At START, DS_bitswap_THIS_PERIOD = 0
At START, US_bitswap_THIS_PERIOD = 0
file EXISTS!
After calculating, DS_bitswap_THIS_PERIOD = 43
Now writing data to MSLOGFILE.log (modem_stats.log)
Data has now been written to MSLOGFILE (modem_stats.log)
sockfd has been closed
freeaddrinfo(res) completed
WSACleanup has completed
I've not seen this problem before mentioning TaskList
C:\HG612_Modem_Stats\Scripts>hg612_stats
progname = hg612_stats
The local time is: 08:15:49.984
A log file wasn't specified
argv[1] = (null)
path_only is C:\HG612_Modem_Stats\Scripts
At the start, working_directory (i.e. log_file_path) is
error from ini_parse_file() = 0
Before setting from config.Extensive_event_logging, DEBUG_COMMENTS = YES
From HG612_stats.ini hard coding, the ongoing log_file = C:\HG612_Modem_Stats\On
going_Stats\modem_stats.log
error_log_file = C:\HG612_Modem_Stats\Ongoing_Stats\ERROR.LOG
xlog_file = C:\HG612_Modem_Stats\Ongoing_Stats\xlogfile.txt
Temp File ONGOING-ISRUNNING-081550-218.TXT was created
'tasklist' is not recognized as an internal or external command,
operable program or batch file.
C:\HG612_Modem_Stats\Scripts>
Another run also had an extra line in the ERROR_LOG_file_ERROR.TXT
17/10/2013 8:13:01.07 - In [HG612_stats.exe] - After ini_parse(). ERROR.LOG status = 0,
17/10/2013 8:13:01.10 - ERROR.LOG successfully opened. Status = 1,
17/10/2013 8:13:01.40 - ONGOING-ISRUNNING-081301-250.TXT - There are 1 instances of HG612_stats.exe running. Status = 1,
17/10/2013 8:13:01.42 - ONGOING-ISRUNNING-081301-250.TXT - ** Continuing as there are only 1 instances of HG612_stats.exe running **. Status = 1,
17/10/2013 8:13:02.25 - ONGOING-ISRUNNING-081301-250.TXT - **** Reaching this point means logging in to the modem was successful. Status = 1,
17/10/2013 8:13:02.28 - ONGOING-ISRUNNING-081301-250.TXT - After xdslcmd info --stats(), ERROR.LOG status = 1
17/10/2013 8:13:02.45 - ONGOING-ISRUNNING-081301-250.TXT - After xdslcmd info --pbParams(), ERROR.LOG status = 1
17/10/2013 8:13:02.85 - ONGOING-ISRUNNING-081301-250.TXT - Logged out of modem O.K. Status = 1,
17/10/2013 8:13:02.89 - ONGOING-ISRUNNING-081301-250.TXT - Now in exit. Status = 1,
17/10/2013 8:13:02.92 - ONGOING-ISRUNNING-081301-250.TXT - *** WSACleanup has completed.
17/10/2013 8:13:02.93 - ONGOING-ISRUNNING-081301-250.TXT - *** txbuf has been freed.