summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts/1-1-1/scripts/check_service_status.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/scripts/check_service_status.sh')
-rwxr-xr-xrubbos/rubbos_scripts/1-1-1/scripts/check_service_status.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/check_service_status.sh b/rubbos/rubbos_scripts/1-1-1/scripts/check_service_status.sh
new file mode 100755
index 00000000..e2ea68e7
--- /dev/null
+++ b/rubbos/rubbos_scripts/1-1-1/scripts/check_service_status.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
+source set_bottlenecks_rubbos_env.sh
+
+#ssh_options=""
+
+ssh root@$TOMCAT1_HOST service tomcat status
+ssh root@$HTTPD_HOST service apache2 status
+ssh root@$MYSQL1_HOST service mysql status
+