View the current system resource snapshot's DB2 command line

Source: Internet
Author: User

The DB2 command line introduced below is used to view the snapshot of the current system resource. This DB2 command line is for your reference and you may have a deeper understanding of the DB2 command line.

 
 
  1. db2 get monitor switches  
  2.  
  3. db2 update monitor switches using lock on  
  4. db2 update monitor switches using statement on  
  5. db2 update monitor switches using table on  
  6. db2 update monitor switches using bufferpool on  
  7. db2 update monitor switches using sort on  
  8. db2 update monitor switches using uow on  
  9. db2 update monitor switches using TIMESTAMP on  
  10.  
  11.  
  12. db2 connect to dbname user username using password  
  13.  
  14. db2 -v get snapshot for locks on dbname >lock.out  
  15.  
  16.  
  17. db2 -v get snapshot for dynamic sql on dbname >dynamicsql.out  
  18.  
  19. db2 -v get snapshot for tables on dbname >tables.out  
  20.  
  21. db2 -v get snapshot for Applications on dbname >app.out  
  22.  
  23.  
  24. db2 -v get snapshot for database on dbname  
  25.  
  26. db2 -v get snapshot for all on dbname >snapshot.out 

How to reset the silent State of the DB2 tablespace

How to Create a DB2 tablespace in an aix Environment

Create a DB2 tablespace in windows

How to Set garbled characters in the DB2 code page

Implementation of DB2 string connection

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.