Uno de los comando para listar las conexiones que estan activas en DB2 es
db2 list applications # show detail
Con esto aparecerá la lista de todas las conexiones, entre aplicaciones y usuarios directos.
Auth Id Application Appl. Application Id DB # of Name Handle Name Agents -------- -------------- ---------- -------------------------------------------------------------- -------- ----- DB2INST1 db2bp 742 *LOCAL.db2inst1.120817020005 AROSAMP 1 AROSAMP db2jccPrograma 699 NF000001.JCD5.120817013230 AROSAMP 1 AROSAMP db2jccserver.s 697 NF000001.JBD5.120817013229 AROSAMP 1 AROSAMP db2jccVerifica 695 NF000001.JAD5.120817013228 AROSAMP 1 AROSAMP db2jccVerifica 698 NF000001.J9D5.120817013227 AROSAMP 1 AROSAMP db2jccserver.s 694 NF000001.J8D5.120817013226 AROSAMP 1 AROSAMP db2jccWebConta 211 NF000001.HD83.120816192305 AROSAMP 1 AROSAMP db2jccImp_AI_F 939 NF000001.FD8D.120816121516 AROSAMP 1 AROSAMP db2jccImDI1F61 940 NF000001.FC8D.120816121515 AROSAMP 1 AROSAMP db2jccImDI1F52 857 NF000001.NAC3.120815003417 AROSAMP 1 DB2INST1 db2evmg_DB2DET 10 *LOCAL.DB2.120806024420 AROSAMP 1 AROSAMP db2taskd 9 *LOCAL.DB2.120806024418 AROSAMP 1 AROSAMP db2stmm 8 *LOCAL.DB2.120806024417 AROSAMP 1