Oracle 9i&10g可用的ass.awk

首先把ass109.awk文件上傳到服務器/opt目錄下,rpt1_ora_4974.trc也在/opt目錄下。

[root@WESTZQ opt]# awk -f ass109.awk rpt1_ora_4974.trc

Starting Systemstate 1
..............................................................................
....................................
Ass.Awk Version 1.0.9 - Processing rpt1_ora_4974.trc

System State 1
~~~~~~~~~~~~~~~~
1:
2:  waiting for 'pmon timer'            seq=35586
3:  waiting for 'rdbms ipc message'     seq=45324
4:  waiting for 'rdbms ipc message'     seq=61799
5:  waiting for 'rdbms ipc message'     seq=13234
6:  waiting for 'buffer busy waits' (11,709,dc) seq=27783
7:  waiting for 'rdbms ipc message'     seq=132
8:  waiting for 'rdbms ipc message'     seq=19660
9:  waiting for 'log file switch (archiving needed)' seq=18401
     Cmd: Select

……

 

Blockers
~~~~~~~~

        Above is a list of all the processes. If they are waiting for a resource
        then it will be given in square brackets. Below is a summary of the
        waited upon resources, together with the holder of that resource.
        Notes:
        ~~~~~
         o A process id of '???' implies that the holder was not found in the
           systemstate.

                    Resource Holder State
Enqueue PR-00000000-00000000    41: last wait for 'os thread startup'
      Latch c0000000c2df3b70    ??? Blocker
Rcache object=c000000f9fdf8160,    61: waiting for 'log file switch (checkpoint incomplete)'
Enqueue US-0000004C-00000000   185: waiting for 'log file switch (checkpoint incomplete)'
Enqueue FB-00000006-0186BDC8   187: waiting for 'log file switch (checkpoint incomplete)'
LOCK: handle=c000000f388db3d0   204: waiting for 'log file switch (checkpoint incomplete)'

Object Names
~~~~~~~~~~~~
Rcache object=0x5bf3945c,


58315 Lines Processed.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章