OPTION 1>
To track the applications which got connected to your database over a particular period of the time (few hours) you can use the db2 event monitor:
see the syntax from the command reference:
(CREATE EVENT MONITOR--event-monitor-name--FOR---------------->
'-+-CONNECTIONS--+--+----------------------------+---------')
OPTION 2>
To see the connections at any particular moment,:
db2 "list applications show detail" . This will list all the connections active at that moment.
OPTION 3>
If you want to track the connections for a much longer period: Then avoid using event monitor and try using db2audit tool with configuration : "VALIDATE"
(see the syntax how to use db2audit in db2 information center).
Thanks,
Jayanta Datta
New Delhi, India