To get more detailed information from list applications:
db2 list applications for database {dbName} show detail
For applications with lots of active connections it is useful to pipe the results to grep
to find only the threads currently executing or locked.
db2 list applications for database {dbName} show detail | grep -i "executing"
and
db2 list applications for database {dbName} show detail | grep -i "lock"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…