Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Save network stats in a file and memory and load on start. Per tracked server. Note value and timestamp. If next value is smaller than the prior one or doesn't exist (first time), don't subtract to find the changed amount, just add the full value to the total (e.g. server restarts). Else subtract to find the difference and add that to the total which is also saved in the file. Can see statistics over a long time (e.g. traffic per month)
Add Comment
Please, Sign In to add comment