---
title: "查看DB2锁表进程"
author: "rayln"
date: "2011-11-01T16:23:50Z"
tags: []
categories: ["操作系统"]
slug: "db2"
draft: false
lastmod: "2011-09-27T10:31:51Z"
id: 1181262
url: "https://rayln.iteye.com/blog/1181262"
---

```java
db2 get snapshot for locks on [dbbce] > [111.txt] 数据库名,导出文件名
vi [111.txt] 导出文件名 
db2 "force application ([10994])" 锁表进程号

```