Look at the snapshot command and options.

db2 update monitor switches for locks on
db2 get snapshot on database <dbname>

I'm doing the commands from memory so they may have to be revised.
HTH,  Pierre.

"Henry J. Cobb" wrote:

> What's the best way to print out the current locks in the database?
>
> Say, the application, the table, the type of lock and which client?
>
> -HJC
>
> =====
> To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
> For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod
begin:vcard 
n:Saint-Jacques;Pierre
tel;cell:514-233-8679
tel;fax:514-737-1268
tel;work:514-737-4515
x-mozilla-html:FALSE
org:SES Consultants Inc.
adr:;;233 Simcoe Cr.;Mount-Royal;QC;H3P 1X1;Canada
version:2.1
email;internet:[EMAIL PROTECTED]
title:President
fn:Pierre Saint-Jacques
end:vcard

Reply via email to