⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 start_logging.sh.txt

📁 管理online的shell程序
💻 TXT
字号:
. /usr/local/bin/setenv.shLOGDIR=$INFORMIXHOME/logsLOGFILE=$LOGDIR/ontape-c.logcnt=`ps -ef | grep -v grep | grep -c "ontape -c"`if [ $cnt -eq 0 ]then    date | tee -a $LOGFILE    echo "Starting Informix Continuous Logging to Tape" | tee -a $LOGFILE    nohup $INFORMIXDIR/bin/ontape -c <<-EOF >>$LOGFILE 2>&1EOFelse    date | tee -a $LOGFILE    echo "Informix Continuous Logging to Tape already running - not restarted" | tee -a $LOGFILE    ps -ef | grep -v grep | grep "ontape -c" | tee -a $LOGFILEfi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -