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: hg612 modem stats request reference log rotation  (Read 11977 times)

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7382
  • VM Gig1 - AAISP L2TP
Re: hg612 modem stats request reference log rotation
« Reply #45 on: June 14, 2015, 01:45:51 PM »

Added a weekly schedule and then hit thr run button no the schedule it worked, but the 2 issues were was the popup cmd window which if I am doing something would be an issue, and that it still took about 2 minutes on a log which I think has only been in use for a week or two.  So I changed the schedule to daily, eve on this new log there was 1600 fragments, so I am amazed BE your log is unfragmented.

I noticed in task scheduler is a hidden button, does this stop the task going into the foreground?  There must be a way as the stats task that runs every minute doesnt go in the foreground.
Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: hg612 modem stats request reference log rotation
« Reply #46 on: June 14, 2015, 07:32:58 PM »

The normal scheduled task runs the program named HG612_Run.exe every minute.

This program simply makes HG612_stas.exe run hidden every minute.


You could create a batch file named something like Run_Contig.BAT & save it in the same folder as Contig.exe

The contents of the batch file would include whatever command you wish Contig.exe to use.

e.g:-

Code: [Select]
Contig.exe -a -v "C:\HG612 Modem Stats with Spaces\Ongoing Stats\TESTS - VDSL2\G.INP Enabled\modem_stats.log" >> contig_output.txt
echo ******************************************************** >> contig_output.txt
echo. >> contig_output.txt


That batch file would append the normal screen display when Contig.exe runs to a file named contig_output.TXT.

e.g:-

Code: [Select]

Contig v1.7 - Makes files contiguous
Copyright (C) 1998-2012 Mark Russinovich
Sysinternals - www.sysinternals.com

------------------------
Processing C:\HG612 Modem Stats with Spaces\Ongoing Stats\TESTS - VDSL2\G.INP Enabled\modem_stats.log:
Scanning file...

[Cluster] Runlength
  [0] 39536

File size: 161937571 bytes

C:\HG612 Modem Stats with Spaces\Ongoing Stats\TESTS - VDSL2\G.INP Enabled\modem_stats.log is in 1 fragment
------------------------
Summary:
     Number of files processed   : 1
     Average fragmentation       : 1 frags/file
********************************************************
 

Contig v1.7 - Makes files contiguous
Copyright (C) 1998-2012 Mark Russinovich
Sysinternals - www.sysinternals.com

------------------------
Processing C:\HG612 Modem Stats with Spaces\Ongoing Stats\TESTS - VDSL2\G.INP Enabled\modem_stats.log:
Scanning file...

[Cluster] Runlength
  [0] 39536

File size: 161937571 bytes

C:\HG612 Modem Stats with Spaces\Ongoing Stats\TESTS - VDSL2\G.INP Enabled\modem_stats.log is in 1 fragment
------------------------
Summary:
     Number of files processed   : 1
     Average fragmentation       : 1 frags/file
********************************************************




To run the program silently, you could create a *.VBS script named something like Run_Contig.VBS

The content of that VBS script (also saved in the same folder as Contig.exe) should be:-

Code: [Select]
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "Run_Contig.BAT" & Chr(34), 0
Set WshShell = Nothing


Your Scheduled task should be set up to run the VBS script & then it should all work hidden.

This certainly works on Windows 7 & I initially used the VBS script method before Ronski wrote HG612_Run.exe

Try running the VBS script directly to see if it runs the batch file silently.


« Last Edit: June 14, 2015, 07:57:18 PM by Bald_Eagle1 »
Logged

NewtronStar

  • Kitizen
  • ****
  • Posts: 4898
Re: hg612 modem stats request reference log rotation
« Reply #47 on: June 14, 2015, 07:36:14 PM »

Try the attached version 5.1.0.4.

Cheers BE1 downloaded and extracted to script folder, Graphpd 5.1.0.4 took 24 seconds to complete a 4 day graph and 30 days took 2mins 56 seconds but have Windows Media Center running and watching country file in HD.
Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: hg612 modem stats request reference log rotation
« Reply #48 on: June 14, 2015, 07:43:00 PM »

Did it correctly state whether G.INP was active or not?

It probably still (incorrectly) says it is v 5.1.0.3 in the event log

Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7382
  • VM Gig1 - AAISP L2TP
Re: hg612 modem stats request reference log rotation
« Reply #49 on: June 14, 2015, 08:15:47 PM »

I got it going in background now, have to set it to run regardless of password or not, I found out how by copying what ronski did :)

For the curious, a 6 hour or so old ongoing stats log on my hdd had 78 fragments.

by the way I set it to start 20 secs after the minute, it doesnt show up in the task list as that but hopefully thats when it starts so no conflict with modem stats.
« Last Edit: June 14, 2015, 08:18:39 PM by Chrysalis »
Logged
Pages: 1 2 3 [4]
 

anything