From: Vincent Le Gallic Date: Sat, 19 Oct 2013 16:39:11 +0000 (+0200) Subject: pour utiliser analyse.py sans avoir à refaire un -h à chaque fois X-Git-Url: http://gitweb.pimeys.fr/?p=scripts-20-100.git;a=commitdiff_plain;h=60048f501fa1096b423227f8d371af789ca1abe6 pour utiliser analyse.py sans avoir à refaire un -h à chaque fois --- diff --git a/analyse.sh b/analyse.sh new file mode 100755 index 0000000..91a68ce --- /dev/null +++ b/analyse.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Pour récupérer rapidement l'upload d'un adhérent (par son ip) +# À exécuter sur thot + +ip=$1 + +sudo /usr/scripts/surveillance/analyse.py --ip-crans $ip -n --upload-mini 1 --show-limit 1000 --begin-time 100 > $ip.txt + +echo "$PWD/$ip.txt"