Identification of the users on servers

Posted by Valeriy Bashkatov on 15-Dec-2009 09:27

Hello,

When user connect via -S/-H with database server, in a log file write following message:

"Previous message sent on behalf of user 56, server pid 7515, broker pid 7496. (5512) "

In this message I can see,  what to the server the user was connected (server pid 7515).

Whether I can receive this information (server pid 7515 or server num.  by users) through VST?

All Replies

Posted by Valeriy Bashkatov on 15-Dec-2009 09:49

I am sorry, I have found independently

Is made so:

for each _server no-lock.

for each _connect where _connect._Connect-Server = _server._Server-Num no-lock.

displ _connect._Connect-Name

_connect._Connect-Server

_server._Server-Pid

_server._Server-CurrUsers

_server._Server-MaxUsers.

end.

end.

This thread is closed