Hi all,
Is there a way to find the name of the appserver that a user is connected to so that we can use the ASBMAN command?
What we want to achieve is to be able to generate a script to issue a kill command, via ASBMAN, to the agent the user is connected to.
Thanks,
Tony.
With next command an output is generated for all connections of all AppServer instances (current DLC).
The only thing you have to do is parse the output and grep the info needed.
asbman -all -clientdetail 'all'
Hi Tony,
the most common way to figure out which users is connected to which AppServer agent is to have the user log into the AppServer (using the srvrConnectProc or srvrActivateProc). Then scan the *.server.log file for the users name.
Other than that, you might be able to use the "asbman -listclients" to get a summary of the clients connected and then use the "asbman -clientdetail (connHdl)" to get detailed information about a specific connection.
Roy
With next command an output is generated for all connections of all AppServer instances (current DLC).
The only thing you have to do is parse the output and grep the info needed.
asbman -all -clientdetail 'all'
Thank you Roy/Kevin for your suggestions.