In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Text format:
#! / bin/bash
# Author:wangergui Email:291131893@qq.com Date:2016-10-10
# Release 1.0
# Function: check oracle online
Declare-an INSTANCE= (PROD EMREP)
[[- f / home/oracle/.bash_profile]] &. / home/oracle/.bash_profile | | exit 3
Function check_listener () {
Su-oracle-c "lsnrctl status" > / dev/null 2 > & 1
If [[$?-ne 0]]; then
Su-oracle-c "lsnrctl start" > / dev/null 2 > & 1
[[$?-ne 0]] & & echo-e "\ E [40 countries 31 countries 5m Your listener is Down!\ E [0m"
Fi
}
Check_listener
Function check_oracle () {
For name in "${INSTANCE [@]}"; do
(su-oracle
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.