Checking Lock Status

Description

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

Syntax

cubrid lockdb options database_name

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

Options

Displaying lock information on a screen

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

cubrid lockdb testdb

Displaying lock information to the specified file (-o)

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

cubrid lockdb -o output.txt testdb