diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2015-12-07 03:09:56 -0800 |
---|---|---|
committer | MatthewLi <matthew.lijun@huawei.com> | 2015-12-07 18:03:45 -0800 |
commit | 82a002de9648c5e43e13863310f7c279545bd8c9 (patch) | |
tree | 3f10d9a3854015f98162e7980b06cf0cbec082c4 /rubbos/rubbos_scripts/1-1-1/scripts/check_service_status.sh | |
parent | 37470ab743d5dfc279342cb1933d7630a6fa0397 (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-x | rubbos/rubbos_scripts/1-1-1/scripts/check_service_status.sh | 11 |
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 + |