You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running lswifi -n 100000000000 --json test.json. will keep updating test.json file with updating array on every scan. It might crash at same point because of "100000000000" scans. so would be good if there would be possibility to save each scan into its own .json file and clear lswifi memory for previous results or avoid parsing test.json file to append new data to array
There could be possibility to do template for each scan results, for example "test-%timestamp%.json" would put unix timestamp for each result
there could be command like -saveeachrun --json="test-%timestamp%.json". it would generate something like:
test-1667812754.json
test-1667812755.json
test-1667812756.json
The text was updated successfully, but these errors were encountered:
Have you seen a crash running lswifi with the options like above? I'm interested to know if it's working for you or if it is buggy.
joshschmelzle
changed the title
feature request - improved json data storing for multiple scans
[investigating] feature request - improved json data storing for multiple scans
Nov 14, 2022
joshschmelzle
changed the title
[investigating] feature request - improved json data storing for multiple scans
[info needed] feature request - improved json data storing for multiple scans
Nov 23, 2022
This issue raises a design change for how I enabled logging to a file for discussion #18. There are likely some improvements that can be made for long running instances of lswifi with these args.
Running lswifi -n 100000000000 --json test.json. will keep updating test.json file with updating array on every scan. It might crash at same point because of "100000000000" scans. so would be good if there would be possibility to save each scan into its own .json file and clear lswifi memory for previous results or avoid parsing test.json file to append new data to array
There could be possibility to do template for each scan results, for example "test-%timestamp%.json" would put unix timestamp for each result
there could be command like -saveeachrun --json="test-%timestamp%.json". it would generate something like:
test-1667812754.json
test-1667812755.json
test-1667812756.json
The text was updated successfully, but these errors were encountered: