增值通信服务商数据库db2v9.7

db2pd -edus -interval=10

db2pd -edus -interval=10,这个-interval参数具体含义是什么?

参与4

2同行回答

drdb2drdb2系统工程师se
就是说,\"db2pd -edus interval=N\"的输出,会按在这N秒钟所耗CPU排序给你看显示全部

就是说,\"db2pd -edus interval=N\"的输出,会按在这N秒钟所耗CPU排序给你看

收起
互联网服务 · 2016-02-28
浏览1015
drdb2drdb2系统工程师se
IBM infocenter 有很好的例子:Example 15: Displaying the top EDUsby processor time consumption and displaying EDU stack informationIfyou issue the db2pd command with the -edus parameteroption, the output lists all engine dispatchable units (EDUs). Outpu...显示全部

IBM infocenter 有很好的例子:

Example 15: Displaying the top EDUsby processor time consumption and displaying EDU stack information

Ifyou issue the db2pd command with the -edus parameteroption, the output lists all engine dispatchable units (EDUs). Outputfor EDUs can be returned at the level of granularity you specify,such as at the instance level or at the member. On Linux and UNIX operatingsystems only, you can also specify the interval parametersuboption so that two snapshots of all EDUs are taken, separated byan interval you specify. When the interval parameteris specified, two additional columns in the output indicate the deltaof processor user time (USR DELTA column)and the delta of processor system time (SYS DELTA column)across the interval.

In the following example, the deltas forprocessor user time and processor system time are given across a five-secondinterval:

$ db2pd -edus interval=5

Database Partition 0 -- Active -- Up 0 days 00:53:29 -- Date 06/04/2010 03:34:59

List of all EDUs for database partition 0

db2sysc PID: 1249522
db2wdog PID: 2068678

EDU ID    TID            Kernel TID      EDU Name                            USR           SYS         USR DELTA    SYS DELTA
=============================================================================================================================
6957      6957           13889683        db2agntdp (SAMPLE  ) 0              58.238506     0.820466    1.160726     0.014721
6700      6700           11542589        db2agent (SAMPLE) 0                 52.856696     0.754420    1.114821     0.015007
5675      5675           4559055         db2agntdp (SAMPLE  ) 0              60.386779     0.854234    0.609233     0.014304
3088      3088           13951225        db2agntdp (SAMPLE  ) 0              80.073489     2.249843    0.499766     0.006247
3615      3615           2887875         db2loggw (SAMPLE) 0                 0.939891      0.410493    0.011694     0.004204
收起
互联网服务 · 2016-02-28
浏览987

提问者

beijing_2011
安全审计师北京华为

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2016-02-27
  • 关注会员:2 人
  • 问题浏览:2278
  • 最近回答:2016-02-28
  • X社区推广