2023.01.13 08:47 AM
Is there a way to retrieve more information about the remote end that initiated the connection using the handle passed into .z.po? I have the .z.a (ip address) and .z.u (user id). I was hoping to find out more about the other end of the connection. If the other end of the connection is a q process, I can determine that by using the handle (h) and requesting .z.X from the handle (h".z.X") to find out what command line was used to initialize the process. But if I use this h".z.X" call on a non q process (maybe c code) handle it doesn't return. Are there calls I can make to a handle that will reveal more information about the handle.
Thank you.
2023.01.15 02:20 PM
Hi trosales,
You could write a callback function to gather more information from your q process and return the result, or perhaps consider extending the .z functionality, for example see Using modified .z functions to trace, monitor and control execution – Knowledge Base – kdb+ and q do...
2023.01.18 06:01 AM
Thank you for the quick response. I will try your suggestions.
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.