x_cons <database_name> show connections
Displays connection information of tasks. For each task, it displays TaskID, UKT ID, task type, connection state and connection time. Process ID of the task is also displayed. For remote connections, peer pid is the process ID of vserver and remote pid is the process id of client application.
Task T497 UKT11 Task type: USER state 'Connected' connect time Mon Mar 30 07:32:27 2009 REMOTE CONNECTION peer pid 15493 remote pid 32172 remote node some.wdf.sap.corp : Task T523 UKT9 Task type: USER state 'Connected' connect time Mon Mar 30 07:27:27 2009 REMOTE CONNECTION peer pid 10593 remote pid 9223 remote node some.wdf.sap.corp : Task T88 UKT7 Task type: USER state 'connected[3]' connect time Tue Mar 24 18:02:03 2009 LOCAL CONNECTION peer pid 1280 : Task T167 UKT5 Task type: EVENT state 'received[5]' connect time Tue Mar 24 09:21:01 2009 LOCAL CONNECTION peer pid 4228 : Task T156 UKT8 Task type: USER state 'connected[3]' connect time Fri Mar 20 18:05:31 2009 REMOTE CONNECTION peer pid 18841 remote pid 0 remote node some.wdf.sap.corp