source: trunk/scripts/tile/killsagedisplay @ 6

Revision 6, 309 bytes checked in by ajaworski, 13 years ago (diff)

Added scripts from tile machine

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3IFS=$'\n'
4for i in `ps -e | grep sageDisplay | tr -s " "`
5do
6        echo $i | grep "^ " > /dev/null 2> /dev/null
7        if [ $? == 0 ]
8        then
9                PID=`echo $i | cut -d " " -f 2`
10        else
11                PID=`echo $i | cut -d " " -f 1`
12        fi
13        kill -9 $PID
14done
Note: See TracBrowser for help on using the repository browser.