summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts/1-1-1/scripts/check_service_status.sh
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2015-12-07 03:09:56 -0800
committerMatthewLi <matthew.lijun@huawei.com>2015-12-07 18:03:45 -0800
commit82a002de9648c5e43e13863310f7c279545bd8c9 (patch)
tree3f10d9a3854015f98162e7980b06cf0cbec082c4 /rubbos/rubbos_scripts/1-1-1/scripts/check_service_status.sh
parent37470ab743d5dfc279342cb1933d7630a6fa0397 (diff)
rubbos run/exec scripts improvement
JIRA: BOTTLENECK-31 to improve the scripts Change-Id: I9e65d92b47f37ab6b303e0414027a126d455aa12 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
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
+