Xray-core icon indicating copy to clipboard operation
Xray-core copied to clipboard

Can the latency information of an Xray server be obtained through the Xray command line?

Open flyisland opened this issue 1 year ago • 1 comments

I have multiple xray servers, and I don't use any GUI client on my Macos now.

I'd like to know how to do the below:

  1. check connectivity and latency of all servers
  2. connect to the fastest server

Thanks

flyisland avatar Feb 19 '24 01:02 flyisland

You should use balancer with leastPing strategy. You also have to add the observatory object. take a look at these two links: https://www.hicairo.com/post/41.html https://github.com/alireza0/x-ui/issues/991#issuecomment-1957235651

pulsarice avatar Feb 21 '24 19:02 pulsarice

@pulsarice thank you, it works!

flyisland avatar Feb 23 '24 15:02 flyisland