Topic Options
#658 - 04/02/02 10:25 AM Autosave 1 month of data - 5s interval
mgrab Offline


Registered: 04/02/02
Posts: 1
Loc: PA
I am trying to save 1 month of data with an interval of 5 seconds. Since this is a lot of data (and since I want to run multiple instances), I am trying to reduce the memory load by selecting 'maximum samples to hold in memory' at 5760. I thought what this meant is, when I check the running program, it will show me the last 12 hours. But since it auto-saves every 1 hour, it should have all the data for as long as it has been running. In the tutorial, it says 'you can have a generice file name like $host, and a fast save interval, and not create a lot of extra files'. When I pull up the log file for the month (my save name is $year $month $host), it only shows the last 12 hours? Is there a way to auto save 1 months worth of data all into 1 file? Or, is there a way to import more than one session so that I can graph them all at one time, to show 1 month of activity?<br>Thanks,<br>Matt<br><br>---<br>to know Jesus is the reason for life
_________________________
---
to know Jesus is the reason for life

Top
#659 - 04/04/02 01:56 AM Re: Autosave 1 month of data - 5s interval [Re: mgrab]
Pete Ness Offline



Registered: 08/30/99
Posts: 1106
Loc: Boise, Idaho
Ahhh - a *great* question!<br><br>First off, saving always saves exactly the data in memory - so if you've only got 5760 (ish) samples in memory, then that's all that will be saved to file.<br><br>What I do is to set my "maximum samples" to several days (I regularily do 2.5 second intervals, and have my "maximum samples" set to 100000). I also set it up to save every 30 minutes, and set my file name to c:\ppdatadir\$host\$host $date. This groups my data by host into its own directory, and saves one file per day ($date being the same as $year-$month-$day). <br><br>For 100K samples, at 2 bytes per hop / sample, a 15 hop route will take about 3 megs of RAM - pretty reasonable even if you've got multiple instances.<br><br>Now, the problem with this approach is that you actually do have to have enough data so that you can get the maximum period of time you ever graph in memory. Since I have my maximum graph scale set to the default of 48 hours, this setup works for every situation I need (although this may not be the case for you).<br><br>The next version of Ping Plotter addresses this by allowing you to load multiple files that are targetted at the same destination - that way you could load up 5 single-day files and have 5 continuous days of data in memory for analysis. A first beta of this release should be available "soon" - but doesn't have a specific release date yet.<br><br>Hopefully, this gives you some ideas about how you can get the results you need. Feel free to comment or re-direct if I missed your point.<br><br><br>

Top

Search

Who's Online
0 registered (), 19 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod