ddos/ddos.sh
author Markus Brökers <mbroeker@largo.homelinux.org>
Sun, 29 Aug 2010 16:36:19 +0200
changeset 145 63a5269fb113
parent 0 af501b0c1716
permissions -rwxr-xr-x
removed code without effect time_t represents the number of seconds since the birth of unix. to deal with microseconds and friends, use a) gettimeofday b) struct timeval

#!/bin/bash

for i in {1..1000};
do
	./client &
	if [ $? == 0 ]; then
		printf "Starting process\n";
	fi
done;