• <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++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

            db2diag

            Posted on 2010-01-27 15:59 Prayer 閱讀(599) 評論(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選項可以對每一個列標志進行搜索,我的理解g就是unix中grep的縮寫。

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

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

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

            - 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波多野结衣久久| 久久精品国产亚洲欧美| 狠狠色丁香久久婷婷综合_中| 久久久精品无码专区不卡| 亚洲日本va午夜中文字幕久久| 久久久噜噜噜久久熟女AA片| 国产精品久久久久久吹潮| 久久精品免费大片国产大片| 久久精品国产乱子伦| 四虎国产精品免费久久5151| 亚洲va久久久久| 9999国产精品欧美久久久久久| 久久精品视频一| 99久久99久久精品国产片| 久久香综合精品久久伊人| 武侠古典久久婷婷狼人伊人| 国产情侣久久久久aⅴ免费| 亚洲国产成人久久综合区| 国产精品18久久久久久vr | 亚洲国产成人久久综合野外| 久久久久AV综合网成人| 人妻无码精品久久亚瑟影视 | 久久亚洲国产精品一区二区| 国色天香久久久久久久小说| 青青热久久国产久精品| 色综合合久久天天综合绕视看 | 久久无码人妻一区二区三区午夜| 久久www免费人成看国产片 | 久久e热在这里只有国产中文精品99| 国产午夜福利精品久久2021| 精品一二三区久久aaa片| 久久99热这里只有精品66| 国产精品成人99久久久久91gav| 久久成人精品视频| 中文国产成人精品久久不卡| 久久婷婷五月综合成人D啪| 香蕉99久久国产综合精品宅男自| 精品无码久久久久久国产| 国产日韩久久免费影院| 久久国产福利免费| 久久精品国产亚洲AV不卡|