ECP status via $system.ECP
Hi,
I'm trying to get the ECP status of 2 servers using $system.ECP.GetProperty("ServerStats") and $system.ECP.GetProperty("ClientStats"), but I'm not able to find the documentation of the values returned:
For example, on the server side I execute this:
USER>w $system.ECP.GetProperty("ServerStats")
14973692,14965389,15903851,2482140,12941,306696,0,0,613392,0,9767,7,10,0,2,0,896,0,180883896,1943934512,0,2444,0,0,12215838,8204,43,0,40,40,0,0,0,8585,82238,1,4,19825,4387,3926,3059,4813,3368,5456,37412,8204,12215838,2,8760,2,87963,0,3,2290946,180615,28945,0,18366,0,499250,128761,137048,1592639,0,306514,176,6,0,0,0,0,0,0,0,0,0,0,381,0,0,0,96764,389154,0,5203,0,0,0,0,12607663,28,2357698,2709,5459,135,0,0,0,306696,0,306696,9784,306696,0,0,0,19,0,3,0,0,0,0,1109,0,0,265,0,0,
But I have no clue of what are the concepts behind the values. Any ideas?
To get status of ECP servers you should use class SYS.ECP in %SYS namespace [1]
It has methods GetClientConnState and GetServerConnState
[1] https://docs.intersystems.com/iris20194/csp/documatic/%25CSP.Documatic.c...
Thanks Alex.
But this other class gives as well the amount of bytes transferred and received ($p19 and $p20). And another bunch of numbers that I'd like to comprehend :-)
The method you are trying to use is not documented - if you look in the class reference, it is not there. This data is internal. As @Alexander Koblov suggested, you should use the SYS.ECP class. If you want the byte transferred information, that is available in mgstat. If there's a particular piece of information you need that isn't available with a supported method (or you can't find it), contact the WRC.