Search results

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. S

    Possible bug in Main_TrafficMonitor_last24.asp

    It changes when you manually change the dropdown. Try it.
  2. S

    Possible bug in Main_TrafficMonitor_last24.asp

    Why does the number change? It also changes from MB to GB or TB based on the dropdown.
  3. S

    Possible bug in Main_TrafficMonitor_last24.asp

    When viewing Main_TrafficMonitor_last24.asp toggling the scale dropdown to KB does not show KB. The Total column still remains in MB units and the measurements have changed from 833.67 down and 32.91 up, to 801.07 down and 31.50 up.
  4. S

    Restore Traffic Stats

    Judging on the rstats file format, it would only require about 88 kb to store a decade's worth of daily and monthly stats uncompressed and about half that or less gzipped. Changing the code to allow that is trivial, but what I don't know is if there are other considerations I may not be aware...
  5. S

    Restore Traffic Stats

    I was able to run it using python under cygwin.
  6. S

    Restore Traffic Stats

    I found a python script that spits out comma-separated human-readable data from an rstats file in case anyone is interested. It can be handy if you want to keep data longer term than the 24 months that the rstats format will allow. https://github.com/VREMSoftwareDevelopment/rstats-cstats
  7. S

    Restore Traffic Stats

    I thought it was to kill any processes matching the name given as the argument? I wish it would save that state, too. Of course it's not a big deal but it is a little annoying. EDIT - Sorry, I didn't see that comment wasn't directed at me.
  8. S

    Restore Traffic Stats

    It worked fine. admin@RT-AX86U-AR28:/var/lib/misc# killall -SIGTERM rstats admin@RT-AX86U-AR28:/var/lib/misc# pidof rstats admin@RT-AX86U-AR28:/var/lib/misc# I have combined the data from three different rstats backups into one rstats file and they were successfully loaded in the UI. It's...
  9. S

    Restore Traffic Stats

    I will PM the data. It looks like once the rstats daily data reaches the limit it just rolls over and starts overwriting the oldest daily data and advances from there. I was able to put everything together by cutting/pasting 24-byte blocks between rstats files in a hex editor. The only hiccup...
  10. S

    Restore Traffic Stats

    Upon further examination, I think my rstats files had complete daily data, but the Excel script didn't pick up on them because it presumes them to be in chronological order in the rstats file. It doesn't appear that the daily data are in chronological order. For example, from my rstats backup...
  11. S

    Restore Traffic Stats

    After examining your code and the rstats files, it looks to be fairly easy for me to manually "merge" my backups by manually creating my own rstats file in a hex editor. I wouldn't want to do it on a regular basis, but as a one-time exercise it shouldn't be too bad. If I understand the format...
  12. S

    Restore Traffic Stats

    My preference is to have Traffic Analyzer data for as long as I want to keep it. I am assuming since that's Trend Micro code there's no way to change its behavior. So, not being able to achieve my first preference, I would like to join my disjointed collection of rstats data from the past 2...
  13. S

    Restore Traffic Stats

    Now I wonder how I can merge my rstats data from multiple backups into one rstats database.
  14. S

    Restore Traffic Stats

    The largest in my backups is about 12MB. It looks like each hour's activity requires about 15,000 bytes (the way the db is written is NOT space efficient - some minor changes to the format of the data in the DB could cut that by 75%). 30MB should allow me to get to almost 3 months worth of data.
  15. S

    Restore Traffic Stats

    After pulling backups from my old RT-AC88U, it appears this has been going on for some time. What I don't understand is how many, many times in the past I have browsed to past months and even years of usage data. I wonder if I can use sqlite to union all of my backups and then view that in the...
  16. S

    Restore Traffic Stats

    I don't have anything installed other than those in my signature and custom DDNS and NTPMerlin. Unless one of those covertly trims TrafficAnalyzer.db, I don't think I have anything that could even be a suspect. I suspect trimming doesn't happen right at the turn of the month as my backup from...
  17. S

    Restore Traffic Stats

    Using sqllite to do a SELECT * FROM traffic shows that there is indeed no data prior to 3/1/2022 00:00.
  18. S

    Restore Traffic Stats

    It appears so. I wasn't aware that there were two separate and distinct sources of traffic history maintained in parallel on the filesystem. So when I say I'm losing my traffic history on upgrade, I'm talking about the Traffic Analyzer history. As far as I recall, that didn't used to be the...
  19. S

    Restore Traffic Stats

  20. S

    Restore Traffic Stats

    I don't want to write to the USB a lot and wear it out. I stopped rstats with pidof rstats and kill [pid]
Top