From: Chris Koeritz Date: Sun, 18 Sep 2016 00:07:05 +0000 (-0400) Subject: a few new scripts. grid land lister does a dump of the uuids and such for land on... X-Git-Tag: 2.140.90~443 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=d6b9b4e06ee566ba7c15039b479b2e95391d0e21;hp=7d2cd79f748373801444d48918b4d86d1efd2888;p=feisty_meow.git a few new scripts. grid land lister does a dump of the uuids and such for land on my simulator; not very generic yet. list old linux packs shows linux-image and linux-header that are in rc state, so not installed but also not clean. rounder is a nice script or test runner that will keep going until a failure occurs; it keeps all the logs from each run in a directory under TMP. --- diff --git a/scripts/opensim/grid_land_lister.sh b/scripts/opensim/grid_land_lister.sh new file mode 100644 index 00000000..a4909e30 --- /dev/null +++ b/scripts/opensim/grid_land_lister.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# creates a file with the information about land on the +# simulator. + +#hmmm: need to abstract the gridroot user, the output file name +#(although support a default), and the database name. + +mysql -u gridroot -p > $HOME/dump_of_opensim_land_table.txt <&1 | tee $outputfile + if [ ${PIPESTATUS[0]} -ne 0 ]; then + echo FAILURE IN RUN $round + break + fi + echo round $round successful. +done +