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
Im not very into C, so my Question is:
Is it possible to implement a time limitation. Like "horst -C36 -q -o test.csv --time 10"
To collect data for 10 seconds or something like that.
Background of it is, i try to build a free Wlan Heatmap tool and would love to use horst for the packet collection part. So my life would be much easier with a parameter like that.
kind regards
ESC
The text was updated successfully, but these errors were encountered:
SWAGESC
changed the title
Time limit
Feature Request: Time limit
Apr 30, 2020
Hi, I know this isn't exactly what you are asking for, and I'm not the horst author anyway, but there are alternatives to achieve what you want without changing horst at all.
1, use your shell's process control features. In bash and friends, you could start and background horst, do a wait for 10 seconds, then kill the backgrounded process. (That's just the rough idea, it isn't free of side effects, but better suggestions are just a web search away :-)
2, use a utility like GNU coreutil's timeout, https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html
Hey, thanks for your anwser :-)
my solution is what you mentioned in point one.
But i thought it is not the clean one. So i created this "issue" to get a clean Solution, and maybe i am not the only one who think that option is usefull :-)
Hey people,
thanks for your Work, its fantastic.
Im not very into C, so my Question is:
Is it possible to implement a time limitation. Like "horst -C36 -q -o test.csv --time 10"
To collect data for 10 seconds or something like that.
Background of it is, i try to build a free Wlan Heatmap tool and would love to use horst for the packet collection part. So my life would be much easier with a parameter like that.
kind regards
ESC
The text was updated successfully, but these errors were encountered: