HP下對程式的跟蹤

empo007發表於2009-02-27

最近有同事遇到執行srvctl命令hang的問題,METALINK上給出了進行跟蹤診斷的方法,這裡記載一下學習

OS: HP UX 11.11

DB:10.2.0.3 RAC

[@more@]

1)tusc -aef -o /tmp/srvctl
upload /tmp/srvctl
---tusc為HP提供的跟蹤程式的工具,參考
2)set SRVM_TRACE=true
script /tmp/srvctl_srvm

upload /tmp/srvctl_srvm
3)upload crsd,cssd logs
4)Run oswatcher and upload oswatcher logs also
---oswatcher:Oracle OS watcher (OSWatcher) reports CPU, RAM and Network stress, and is a new alternative for monitoring Oracle servers. OS Watcher complements the WISE tool for proactive Oracle monitoring.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/85922/viewspace-1017895/,如需轉載,請註明出處,否則將追究法律責任。

相關文章