Skip to content

Instantly share code, notes, and snippets.

Created August 2, 2016 11:11
Show Gist options
  • Save anonymous/56ad78177a8fd0d3242dbeb5291a048e to your computer and use it in GitHub Desktop.
Save anonymous/56ad78177a8fd0d3242dbeb5291a048e to your computer and use it in GitHub Desktop.
#!/bin/sh
wmctrl -o 0,0
setsid gnome-terminal -t "PIPELINE SHANDLERS.LOG" -e "ssh pipeline -t \"tail -f /srv/pipelinelogs/shandlers-1.log | ccze\"" --geometry=215x15+640+0 &
setsid gnome-terminal -t "PIPELINE ATT-REAPER.LOG" -e "ssh pipeline -t \"tail -f /srv/surechem-pipeline/shared/log/att-reaper.log | ccze\"" --geometry=215x15+640+325 &
setsid gnome-terminal -t "PIPELINE BATCH_MAPPER.LOG" -e "ssh pipeline -t \"tail -f /srv/surechem-pipeline/shared/log/batch-mapper.log | ccze\"" --geometry=215x15+640+625 &
setsid gnome-terminal -t "PIPELINE PIPELINE-REAPER-RESTART.LOG" -e "ssh pipeline -t \"tail -f /srv/surechem-pipeline/shared/log/pipeline-reaper-restart.log | ccze\"" --geometry=215x15+640+960 &
sleep 5
wmctrl -o 1920,0
setsid gnome-terminal -t "PIPELINE WO-REPROCESS.LOG" -e "ssh pipeline -t \"tail -f /srv/surechem-pipeline/shared/log/wo-reprocess.log | ccze\"" --geometry=215x15+640+0 &
setsid gnome-terminal -t "MYSQL MYSQL-ERROR.LOG" -e "ssh mysql -t \"tail -f /srv2/mysql/mysql-error.log | ccze\"" --geometry=215x15+640+325 &
setsid gnome-terminal -t "ALEXANDRIA CLIENT-INDEX.LOG" -e "ssh alexandria -t \"tail -f /var/log/alexandria/alexandria-client-index.log | ccze\"" --geometry=215x15+640+625 &
setsid gnome-terminal -t "ALEXANDRIA CLIENT-UPDATE.LOG" -e "ssh alexandria -t \"tail -f /var/log/alexandria/alexandria-client-update.log | ccze\"" --geometry=215x15+640+960 &
sleep 5
wmctrl -o 0,1200
setsid gnome-terminal -t "ALEXANDRIA ALEXANDRIA.LOG" -e "ssh alexandria -t \"tail -f /var/log/alexandria/alexandria.log | ccze\"" --geometry=215x15+640+0 &
setsid gnome-terminal -t "ALEXANDRIA ALEXANDRIA.LOG" -e "ssh alexandria -t \"tail -f `/bin/ls -1td /var/log/alexandria/updates/update_*.log| /usr/bin/head -n1` | ccze\"" --geometry=215x15+640+325 &
setsid gnome-terminal -t "ALEXANDRIA ALEXANDRIA.LOG" -e "ssh alexandria -t \"tail -f `/bin/ls -1td /var/log/alexandria/updates/update_*.log| /usr/bin/head -n1` | ccze\"" --geometry=215x15+640+625 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment