![]() If you’d like, you can go ahead and remove entire folders, starting with the oldest first. Alternatively, for more precision, you can head into the folders and remove certain sample set files. Here’s a breakdown of what the files look like and how to read them: You have the option of sorting these files by modified date and deleting the oldest ones, or you can read through all the files to figure out which ones you don’t want. 2019-04 - This is the date that the file started (YYYY-MM).Pingplotter_com - This is the target, with underscores substituted for periods.Pingplotter_com 2019-04 5xk77hznemdrbpg6955wu8ta1h.pp_sample PINGPLOTTER SAMPLEING MENU HOW TO 5xk77hznemdrbpg6955wu8ta1h - This is the GUID.If you’ve saved by day, you’ll probably see it look like “” (YYYY-MM-DD). Make sure that you don't change this value. Otherwise, the data will no longer be tied to the session. If you’ve got bigger fish to fry than going through your files and deleting them manually, you can absolutely have a script do it for you. To watch trending, its sometimes nice to see what the most recent sample is. We’ve done it here using a Windows PowerShell script. You can use the one we've made or you can make something to your own liking! A little blue X will be drawn on the graph. ![]() The download for our Windows PowerShell script is available at the bottom of this page. # Figure out the date beforehand that it is OK to delete: Write-Host "LIVE - data is being deleted." Write-Host “DRYRUN - data isn’t actually being deleted.” Param ( $keepdays = 0, $keepmonths = 1, $datadir = "", $dryrun = 1) PINGPLOTTER SAMPLEING MENU DOWNLOAD ![]() For example, on monthly flexstore, a value of 30 days # -keepdays Is in the format of days to keep. # won’t delete the month of January on March 1st because #January 31st is less than 30 days away. # full month, so January would be deleted on March 1st, but February won’t be deleted On monthly flexstore, 1 month will always keep at least # -keepmonths Is in the format of months to keep. # until there’s a complete full month available - February would be deleted on April 1st though I've been experiencing big latency spikes lately in Rocket League, and I've downloaded Pingplotter and tried my best to see what is going on, but I think I need some help. The spikes are intermittent, and while I almost never drop completely out, it becomes horribly unplayable for a good 10 seconds sometimes, and it can happen every couple of. # -datadir If a custom data directory is in use, this is where the data will be deleted from. # Should *not* include the "SampleSets" part of the directory (just the root storage directory). ![]() # -dryrun Just show what’s going to be deleted and don’t actually delete anything. $keepdate = (Get-Date).AddMonths(-$keepmonths) $keepdate = (Get-Date).AddDays(-$keepdays) # Change the script or pass 0 as a parameter to actually delete data. Write-Host "Deleting data files that only contain data collected before: $keepdate UTC" Throw "Both keepdays and keepmonths are 0 or negative. # If datadir is passed in, then use that. Otherwise, check if running as a service and use that. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |