#!/bin/bashFILE=/usr/local/mysqlFILESIZE=`du-s$FILE|awk‘{print$1}‘`|cut-f1-d‘M‘if[$FILESIZE-gt20];thenecho"thefilesizeismorethantheprimaryfile"elseecho"thefilesizeislessthantheprimaryfile"fi
分类:
系统相关 时间:
2014-10-09 16:04:28
阅读次数:
227
1.查看OCR位置用户指定的位置会被放置在 /etc/oracle/ocr.loc(Liunx系统) 或 /var/opt/oracle/ocr.loc[oracle@rac4 opt]$ cat /etc/oracle/ocr.loc ocrconfig_loc=/dev/raw/raw1loca...
分类:
数据库 时间:
2014-10-09 16:01:48
阅读次数:
205
nginx错误优化文档1.大量的TIME_WAIT的情况查看:netstat-n|awk‘/^tcp/{++S[$NF]}END{for(ainS)printa.S[a]}‘CLOSED:无连接是活动的或正在进行LISTEN:服务器在等待进入呼叫SYN_RECV:一个连接请求已经到达,等待确认SYN_SENT:应用已经开始,打开一个连接ESTABLISHED:正常..
分类:
其他好文 时间:
2014-10-09 15:28:49
阅读次数:
187