ddos/ddos.sh
author Markus Bröker <mbroeker@largo.dyndns.tv>
Sun, 27 Sep 2009 10:56:49 +0200
changeset 107 244356bc3a20
parent 0 af501b0c1716
permissions -rwxr-xr-x
Pipes and COPY-ON-WRITE In this example, every forked process gets its own copy of the countervariable i through copy-on-write. committer: Markus Bröker <mbroeker@largo.homelinux.org>

#!/bin/bash

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