Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.3.1 |  CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

Checking Lock Status

Description

The cubrid lockdb utility is used to check the information about the lock being used by the current transaction in the database.

Syntax

cubrid lockdb options database_name

options : [{-o|--output-file=} file ]

  • cubrid : An integrated utility for the CUBRID service and database management.
  • lockdb : A command used to check the information about the lock being used by the current transaction in the database.
  • options : The  -o option is supported.
  • database_name : The name of the database where lock information of the current transaction is to be checked.
Option

Displaying the lock information on the screen

The following example shows displaying lock information of the testdb database on a screen without any option.

cubrid lockdb testdb

Displaying the lock information to the specified file (-o)

The following example shows displaying lock information of the testdb database as a output.txt by using the -o option.

cubrid lockdb -o output.txt testdb