Mosquitto Broker
Very useful links:
Subscribe
Example how to subscribe to system topics:
Bashmosquitto_sub -d -t '$SYS/broker/clients/active'
Bashmosquitto_sub -u <username> -P <password> -d -t '$SYS/broker/clients/total'
Bashmosquitto_sub -u <username> -P <password> -d -t '$SYS/broker/load/publish/received/+'
Bashmosquitto_sub -u <username> -P <password> -d -t '$SYS/broker/messages/inflight'
Bashmosquitto_sub -u <username> -P <password> -d -t '$SYS/broker/messages/sent'
Bashmosquitto_sub -u <username> -P <password> -d -t '$SYS/broker/publish/messages/dropped'