Re: Regestrierung
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Werner Mahr wrote:
| Gegenvorschläge? Ausser wget [...] -o /dev/null
Gegenvorschlag Named Pipe:
if [ ! -p ~/tmp/pipe ] ; then mkfifo ~/tmp/pipe ; fi
let byte=0;
let kbyte=0;
let mbyte=0;
for i in `seq 1 100000` ; do
~ wget -q -O ~/tmp/pipe http://usw.usw/ &
~ for j in $(wc -c ~/tmp/pipe) ; do
~ let byte=$byte+$j;
~ let kbyte=$byte/1024;
~ let mbyte=$kbyte/1024;
~ break; # grausam, aber sauber
~ done
~ echo "$i ($mbyte MByte)" >> ~/log/http_killer.log
done
Joel HATSCH wrote:
| ihr müsst mir nur noch erzählen wie das Skript nur dann arbeitet wenn
| niemand sonst was tut ? Zumindest so habe ich das von den vorherigen
| Posts verstanden !
Keine Ahnung wie das gehen soll, aber wget kann mit dem Paramter
- --limit-rate bandbreitenbeschränkt werden ...
Gruß.
Jan Christoph
- --
eMail : jan-christoph.ebersbach@epost.de
Hompage : http://www.e-jc.de/
PGP-KeyID: 0x2D600996
Wo kämen wir hin, wenn alle sagen würden "wo kämen wir hin" und keiner
ginge, um zu sehen, wohin man käme, wenn man ginge ;-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAXgexY+DL3S1gCZYRAhwHAKCRE0R0kNzGqH6ltqVio+T9BGpuQwCgy3ch
2gn8zbBe/q8g914lWKioI5c=
=c7Jb
-----END PGP SIGNATURE-----
Reply to: