cubrid lockdb는 대상 데이터베이스에 대하여 현재 트랜잭션에서 사용되고 있는 잠금 정보를 확인하는 유틸리티이다.
cubrid lockdb options database_name
options : [{-n|--output-file=} file ]
cubrid lockdb testdb
옵션없이 testdb 데이터베이스의 잠금 정보를 화면에 출력하는 구문이다.
cubrid lockdb -o output.txt testdb
-o 옵션을 이용하여 testdb 데이터베이스의 잠금 정보를 output.txt로 출력하는 구문이다.