From a1bf792bf548440ea24c7a3e900b96e7783279f5 Mon Sep 17 00:00:00 2001 From: Alex Grin <362784+lyoshenka@users.noreply.github.com> Date: Thu, 12 Jan 2023 12:40:06 -0500 Subject: [PATCH] Updated Setting up a Hub (markdown) --- Setting-up-a-Hub.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Setting-up-a-Hub.md b/Setting-up-a-Hub.md index b0cb4ac..a2112db 100644 --- a/Setting-up-a-Hub.md +++ b/Setting-up-a-Hub.md @@ -153,7 +153,7 @@ open the following ports in your firewall Congratulations! You have a full hub up and running. Now you can add your hub's IP or hostname to the `lbryum_servers` config in the LBRY Desktop app, and connect to it. -To check how many connections you have total, run `curl -s localhost:2112/metrics | grep session_count`. +To check how many connections you have of each version, run `curl -s localhost:2112/metrics | grep session_count`. To get a total across all the versions, use `curl -s localhost:2112/metrics | grep session_count | grep -v '#' | cut -d' ' -f2- | paste -sd+ | bc -l` ## Monitoring