首页 » ORACLE 9i-23ai » Fixed OSWatcher v7.3.3 some problems on HPUX ia 11-31 platform
Fixed OSWatcher v7.3.3 some problems on HPUX ia 11-31 platform
Fixed OSWatcher v7.3.3 some problems on HPUX ia 11-31
The OSW is a great OS monitor tool, The latest version of osw(7.3.3) there are some problems in the HP platform(ia 11-31).
1, the private network to collect information to monitor only once at startup
2, Did not get the information TOP
let me show these issues and try to fix this at here.
oracle@anbob1:/home/oracle/oswbb> uname -a HP-UX anbob1 B.11.31 U ia64 0952767996 unlimited-user license note: extract OSW process omit oracle@anbob1:/home/oracle/oswbb> vi /etc/hosts 127.0.0.1 localhost loopback 133.96.60.77 anbob1 133.96.60.177 anbob1-vip 192.168.60.77 anbob1-priv 133.96.60.78 anbob2 133.96.60.178 anbob2-vip 192.168.60.78 anbob2-priv 133.96.60.204 anbob-scan oracle@anbob1:/home/oracle/oswbb> vi private.net echo "zzz ***"`date` traceroute -r -F anbob1-priv traceroute -r -F anbob2-priv oracle@anbob1:/home/oracle/oswbb> chmod +x private.net oracle@anbob1:/home/oracle/oswbb> ./startOSWbb.sh 3 12 oracle@anbob1:/home/oracle/oswbb/archive/oswtop> ll total 16 -rw-r--r-- 1 oracle oinstall 5809 May 20 13:48 anbob1_top_15.05.20.1300.dat oracle@anbob1:/home/oracle/oswbb/archive/oswtop> tail -f anbob* zzz ***Wed May 20 13:48:07 EAT 2015 zzz ***Wed May 20 13:48:10 EAT 2015 zzz ***Wed May 20 13:48:13 EAT 2015 zzz ***Wed May 20 13:48:16 EAT 2015 zzz ***Wed May 20 13:48:19 EAT 2015 oracle@anbob1:/home/oracle/oswbb/archive/oswprvtnet> ll total 16 -rw-r--r-- 1 oracle oinstall 304 May 20 13:47 anbob1_prvtnet_15.05.20.1300.dat oracle@anbob1:/home/oracle/oswbb/archive/oswprvtnet> tail -f anbob* zzz ***Wed May 20 13:47:30 EAT 2015 traceroute to anbob1-priv (192.168.60.77), 30 hops max, 40 byte packets 1 anbob1-priv (192.168.60.77) 0.121 ms 0.062 ms 0.034 ms traceroute to anbob2-priv (192.168.60.78), 30 hops max, 40 byte packets 1 anbob2-priv (192.168.60.78) 0.192 ms 0.124 ms 0.094 ms
fixed:
1,edit xtop.sh
case $PLATFORM in Linux) top -b -n2 -d1 > tmp/xtop.tmp ;; HP-UX|HI-UX) top -s 1 -d 2 -f tmp/xtop.tmp #### changed 1 ;; AIX) top -d 2 > tmp/xtop.tmp ;; *) if [ $3 != 0 ]; then prstat 1 2 > tmp/xtop.tmp else top -d2 -s1 > tmp/xtop.tmp fi ;; case $PLATFORM in Linux) tail -$lineRange tmp/xtop.tmp >> tmp/ltop.tmp head -50 tmp/ltop.tmp >> $1 rm tmp/ltop.tmp ;; *) tail -n $lineRange tmp/xtop.tmp >> $1 #### changed 2 ;;
2, edit private.net
oracle@anbob1:/home/oracle/oswbb/archive/oswprvtnet> cat private.net ###################################################################### echo "zzz ***"`date` traceroute -r -F kdyyc1-priv traceroute -r -F kdyyc2-priv # append if [ -f locks/lock.file ]; then rm -f locks/lock.file fi
3, stop osw and start osw again
I hope this is useful.
对不起,这篇文章暂时关闭评论。