]> Creatis software - clitk.git/blobdiff - cluster_tools/check_tmp_cluster.sh
ADDED: a version of the job submission script that does not copy the data-dir. Useful...
[clitk.git] / cluster_tools / check_tmp_cluster.sh
diff --git a/cluster_tools/check_tmp_cluster.sh b/cluster_tools/check_tmp_cluster.sh
new file mode 100755 (executable)
index 0000000..64f0007
--- /dev/null
@@ -0,0 +1,12 @@
+#! /bin/bash
+
+for i in 1 $(seq 4 20) $(seq 30 36)
+do
+    echo
+    echo "Files on host linux${i}.dg.creatis.insa-lyon.fr "
+    #ssh -o "StrictHostKeyChecking no" linux${i}.dg.creatis.insa-lyon.fr "find /tmp -user $1 -exec rm -fr {} \; "
+    ssh -o "StrictHostKeyChecking no" linux${i}.dg.creatis.insa-lyon.fr "find /tmp -user $1 2>/dev/null"
+#ssh -o "StrictHostKeyChecking no" linux${i}.dg.creatis.insa-lyon.fr "rm -fr /tmp/tmp.*/core* /tmp/tmp.*/mac /tmp/tmp.*/data /tmp/tmp.*/output/*root"
+#ssh -o "StrictHostKeyChecking no" linux${i}.dg.creatis.insa-lyon.fr "mv /tmp/tmp.* data/gate/hybrid_analog_mc/liver/hybrid_emlivermore/rr/rayleigh/run.O6VN"
+done
+