nyx values do differ from stem native example
I do run 2 Tor relaays at the same hardware at 2 different ports. Netstat reports about 12,000 connections. Stem 1.7.1 gives:
mr-fox ~ # for p in 9051 29051 ; do python /usr/share/doc/stem-1.7.1/_static/example/relay_connections.py --ctrlport $p; done
0.3.5.7 uptime: 08:25:03 flags: Fast, Guard, Running, Stable, V2Dir, Valid
+------------------------------+------+------+
| Type | IPv4 | IPv6 |
+------------------------------+------+------+
| Inbound to our ORPort | 2777 | 6 |
| Inbound to our DirPort | 3 | 0 |
| Inbound to our ControlPort | 1 | 0 |
| Outbound to a relay | 3235 | 0 |
| Outbound uncategorized | 8 | 0 |
+------------------------------+------+------+
| Total | 6024 | 6 |
+------------------------------+------+------+
0.3.5.7 uptime: 08:25:05 flags: Fast, Guard, Running, Stable, V2Dir, Valid
+------------------------------+------+------+
| Type | IPv4 | IPv6 |
+------------------------------+------+------+
| Inbound to our ORPort | 2866 | 2 |
| Inbound to our ControlPort | 2 | 0 |
| Outbound to a relay | 3447 | 0 |
| Outbound uncategorized | 16 | 0 |
+------------------------------+------+------+
| Total | 6331 | 2 |
+------------------------------+------+------+
whilst nyx 2.0.4 gives:
sudo -u tor /bin/bash -c "/usr/bin/nyx -i 29051"
...
Connections (2853 inbound, 6690 outbound, 1 control):
and
sudo -u tor /bin/bash -c "/usr/bin/nyx -i 9051"
...
Connections (2787 inbound, 6694 outbound, 1 control):
respectively.