summaryrefslogtreecommitdiff
path: root/TAO/examples/Simulator/ss
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simulator/ss')
-rwxr-xr-xTAO/examples/Simulator/ss56
1 files changed, 0 insertions, 56 deletions
diff --git a/TAO/examples/Simulator/ss b/TAO/examples/Simulator/ss
deleted file mode 100755
index fbdccce2561..00000000000
--- a/TAO/examples/Simulator/ss
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/ksh
-
-#saving old working dir
-
-old_dir=$cwd
-login=`whoami`
-
-echo // Killing the old services
-
-ps -ef | grep Service | grep $login | grep -v grep | cut -c10-17 > /tmp/pids$$
-
-if [ -s /tmp/pids$$ ]; then
- pids=`cat /tmp/pids$$`
- kill $pids
-fi
-
-
-echo // Initializing the log file
-
-if [ -r /tmp/logfile$$ ]; then
- rm /tmp/logfile$$
-fi
-
-echo // Logfile for the script "ss" which startes Name, Scheduling and Event Service > /tmp/logfile$$
-
-nameserviceport=10016
-schedulerserviceport=10021
-eventserviceport=10026
-
-cd ../../../Naming_Service
-./Naming_Service -ORBport $nameserviceport >> /tmp/logfile$$ 2>&1 &
-
-sleep 1
-
-IOR=`cat /tmp/logfile$$ | grep IOR | cut -c22-300 | cut -f1 -d">" `
-
-echo // The IOR of the Naming Service: $IOR
-
-echo // Started Naming Service on port $nameserviceport
-
-cd ../Scheduling_Service
-Scheduling_Service -ORBnameserviceior $IOR -ORBport $schedulerserviceport >> /tmp/logfile$$ 2>&1 &
-
-sleep 1
-
-echo // Started Scheduling Service on port $schedulerserviceport
-
-cd ../Event_Service
-Event_Service -ORBnameserviceior $IOR -ORBport $eventserviceport >> /tmp/logfile$$ 2>&1 &
-
-cd $old_dir
-echo // Started Event Service on port $eventserviceport
-
-echo "// Enjoy the use ;-)"
-ps -ef | grep Service | grep -v grep
-