• <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 閱讀(595) 評論(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

            97久久久久人妻精品专区| 久久中文字幕无码专区| 精品久久久久久无码专区不卡| 国内精品久久久久久99蜜桃| 好属妞这里只有精品久久| 欧美一区二区精品久久| 一本综合久久国产二区| 99久久er这里只有精品18| 91久久成人免费| 久久人人爽人人爽人人片AV东京热 | 亚洲AV无码久久| 久久精品这里热有精品| 久久99精品久久久久久秒播| 色天使久久综合网天天| 国产成人综合久久精品尤物| 亚洲国产精品久久久天堂| 久久久久久av无码免费看大片| 国产精品久久波多野结衣| 日韩美女18网站久久精品| 久久偷看各类wc女厕嘘嘘| 一97日本道伊人久久综合影院| 999久久久国产精品| 精品午夜久久福利大片| 日韩人妻无码一区二区三区久久| 亚洲午夜久久久| 99热精品久久只有精品| 91精品国产高清久久久久久io | 99久久国产亚洲综合精品| 日本高清无卡码一区二区久久 | 久久本道久久综合伊人| 欧美大香线蕉线伊人久久| 天天躁日日躁狠狠久久| 久久久久亚洲国产| 久久这里都是精品| 精品国产日韩久久亚洲| 国产精品久久久久久久久软件| 亚洲人成网亚洲欧洲无码久久 | 久久久艹| 日本加勒比久久精品| 要久久爱在线免费观看| 一本久久a久久精品亚洲|