• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            Prayer

            在一般中尋求卓越
            posts - 1256, comments - 190, trackbacks - 0, articles - 0
              C++博客 :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            db2diag

            Posted on 2010-01-27 15:59 Prayer 閱讀(598) 評(píng)論(0)  編輯 收藏 引用 所屬分類: DB2

            db2diag –help 查看命令的幫助。

            2009-11-04-15.48.43.143136+480 I6355A414          LEVEL: Event
            PID     : 176316               TID  : 258         PROC : db2sysc 2
            INSTANCE: db2inst1             NODE : 002
            EDUID   : 258                  EDUNAME: db2sysc 2
            FUNCTION: DB2 UDB, fast comm manager, sqlkf_init_allocate_shared, probe:500
            START   : FCM infrastructure started
            FCM running in shared mode; FCM parallelism degree: 1; comm protocol: TCP/IPv4

            • -pid              - find all records for a list of process IDs
            • -tid              - find all records for a list of thread IDs
            • -eduid            - find all records for a list of EDU IDs
            • -node   , -n      - find all records for a list of nodes
            • -error  , -e      - find all records for a list of errors
            • -level  , -l      - find all records for a list of severity levels

            db2diag is a tool for filtering and formatting the db2diag.log file

            Authorization: None

            Command syntax:
                              .------------.  .--------------.
                              V            |  V              |
                 >>--db2diag--+------------+--+--------------+--><
                               |          |    |            |
                                --option--      --filename--

            Command parameters:

            -filter <fieldPatternList> or -g <fieldPatternList>

            db2diag工具的-g選項(xiàng)可以對(duì)每一個(gè)列標(biāo)志進(jìn)行搜索,我的理解g就是unix中g(shù)rep的縮寫。

            • -g: 搜索符合搜索一系列“<列標(biāo)志>=<列值>”條件的診斷日志記錄,條件中間使用逗號(hào)分開。搜索區(qū)分大小寫。
            • -gi: 功能等同于-g,搜索不區(qū)分大小寫。
            • -gv: 搜索不符合一系列“<列標(biāo)志>=<列值>”條件的診斷日志記錄,條件中間使用逗號(hào)分開。搜索區(qū)分大小寫。
            • -gvi:功能等同于-gv,搜索不區(qū)分大小寫。

            另外我們的條件表達(dá)式支持如下幾種:

            = 全字精確匹配查詢
            := 部分匹配模糊查詢
            != 查找不符合全字精確匹配查詢條件的記錄
            !:= 查找不符合部分匹配模糊查詢條件的記錄
            ^= 選擇查找列中以后面的查找條件開頭的記錄
            !^= 選擇查找列中不以后面的查找條件開頭的記錄

            - To display all severe error messages produced by the process with the process ID (PID) 952356, enter:

                   db2diag -g level=Severe,pid=952356

            - To display all severe error messages produced by the process with the process ID (PID) 952356 and on node 1, 2 or 3, enter: 

                   db2diag -g level=Severe,pid=952356 -n 1,2,3

            - To display all messages logged after the one with time stamp  2003-03-03-12.16.26.230520 inclusively, enter:

                   db2diag -time 2003-03-03-12.16.26.230520

            - To display severe errors logged for the last 3 days, enter:

                   db2diag -gi "level=severe" -H 3d

            一本大道久久东京热无码AV | 亚洲国产精品久久电影欧美| 久久午夜免费视频| 色综合久久久久综合体桃花网| 国内精品久久久久影院日本| 精品人妻伦九区久久AAA片69| 色99久久久久高潮综合影院| 亚洲欧美伊人久久综合一区二区| 久久99热精品| 久久夜色精品国产亚洲| 久久99国产精品久久99| 欧美国产成人久久精品| 国产精品免费久久| 亚洲va国产va天堂va久久| 久久久久久极精品久久久| 久久99精品国产自在现线小黄鸭 | 久久精品亚洲日本波多野结衣| 91精品日韩人妻无码久久不卡| 久久婷婷人人澡人人爽人人爱 | 国产综合精品久久亚洲| 久久棈精品久久久久久噜噜| 亚洲精品tv久久久久久久久久| 久久综合九色综合97_久久久| 久久天天躁狠狠躁夜夜96流白浆 | 久久久久久亚洲AV无码专区| 狠狠色丁香久久婷婷综合蜜芽五月 | 99久久99久久久精品齐齐| 精品国产乱码久久久久久人妻| 亚洲综合精品香蕉久久网97| 亚洲人成伊人成综合网久久久| 欧美亚洲另类久久综合婷婷| 国产—久久香蕉国产线看观看 | 人人狠狠综合久久亚洲高清| 亚洲国产精品久久久久| 99久久99久久| 国产精品一久久香蕉产线看 | 18岁日韩内射颜射午夜久久成人| 日韩电影久久久被窝网| 欧美精品福利视频一区二区三区久久久精品| 久久久久久狠狠丁香| 欧美伊香蕉久久综合类网站|