手机版
你好,游客 登录 注册
背景:
阅读新闻

DB2 db2mtrk用法总结

[日期:2012-02-27] 来源:Linux社区  作者:marvelyu [字体:大 中 小]

如下使用示例结果输出:

[db2inst1@marven ~]$ db2 list active databases

                           Active Databases

Database name                              = SAMPLE
Applications connected currently           = 0
Database path                              = /home/db2inst1/db2inst1/NODE0000/SQL00002/

Database name                              = Oracle
Applications connected currently           = 0
Database path                              = /home/db2inst1/db2inst1/NODE0000/SQL00004/
如上我的实例中存在两个激活的数据库,如下分别显示数据库的内存使用情况:
[db2inst1@marven ~]$ db2mtrk -i -d
Tracking Memory on: 2012/02/13 at 09:38:24

Memory for instance

   other       fcmbp       monh        
   17.1M       832.0K      576.0K      

Memory for database: SAMPLE  

   utilh       pckcacheh   other       catcacheh   bph (1)     bph (S32K)  
   64.0K       256.0K      192.0K      192.0K      8.2M        832.0K      

   bph (S16K)  bph (S8K)   bph (S4K)   shsorth     lockh       dbh         
   576.0K      448.0K      384.0K      0           16.8M       18.9M       

   apph (258)  apph (257)  apph (256)  apph (255)  apph (254)  apph (253)  
   64.0K       64.0K       64.0K       192.0K      64.0K       64.0K       

   apph (252)  appshrh     
   64.0K       320.0K      

Memory for database: ORACLE  

   utilh       pckcacheh   other       catcacheh   bph (1)     bph (S32K)  
   64.0K       256.0K      192.0K      192.0K      40.3M       832.0K      

   bph (S16K)  bph (S8K)   bph (S4K)   shsorth     lockh       dbh         
   576.0K      448.0K      384.0K      128.0K      16.8M       18.9M       

   apph (267)  apph (266)  apph (265)  apph (264)  apph (263)  apph (262)  
   64.0K       64.0K       64.0K       192.0K      64.0K       64.0K       

   apph (261)  appshrh     
   64.0K       320.0K     

linux
相关资讯       数据库  DB2 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款