/[TIS-4000 Rel T60]/scripts/stopJava
ViewVC logotype

Contents of /scripts/stopJava

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations)
Fri Sep 29 17:28:29 2000 UTC (23 years ago) by tis4000
Branch: MAIN
CVS Tags: LMC_baseline, SPR653, Duluth_baseline, HEAD
Changes since 1.1: +1 -1 lines
SPR 653
Use /usr/ucb/ps rather than /usr/bin/ps. - Steel

1 #!/usr/bin/csh
2 #
3 # Stop java processes
4 #
5 set javaprocesses = (OPTServer TagvuServer OpNoteServer)
6 echo "Stopping Java servers"
7 foreach jproc ($javaprocesses)
8 set pid=`/usr/ucb/ps -axww | grep $jproc | grep -v grep | awk '{print $1}'`
9 if ($#pid) then
10 echo ""
11 echo "****** Stopping $jproc ******"
12 echo ""
13 (kill $pid)
14 endif
15 end

  ViewVC Help
Powered by ViewVC 1.1.30