• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux command to run command MULTIPLE TIMES

randalee

Senior member
I have a little bash script that will run NSLOOKUPS on a DNS server I have. What I would like to do is be able to run this script OVER and OVER and OVER as fast as possible.

Just trying to beat up my DNS server a bit. I know there is a way to do this, but anyone know?

I'm currently doing ./check and then waiting for it to finish, then doing ./check again (check is my script)...
 
fork() bomb, though you can probably use the equivalent shell script version just fine.

You might want to put a cap on the number of times you run through the loop or setting some controls using ulimit (the bash builtin, not ulimit(2)), for you may just end up crashing the machine you're running the stress test from or running out of some resource (CPU, memory, I/O bandwidth, PID numbers, or just about anything else) before adequately testing the server instead of the client---in other words, this may not end up doing what you want it to.

Or you could ask somebody to DoS it for you. 😀
 
Back
Top