Forrest logo
back to context overview

mosquitto_sub

List of commands for mosquitto_sub:

  • mosquitto_sub:tldr:08657 mosquitto_sub: Subscribe to multiple topics matching a given pattern. (+ takes any metric name).
    $ mosquitto_sub -t ${sensors-machines-+-temperature-+}
    try on your machine
    explain this command
  • mosquitto_sub:tldr:7d3eb mosquitto_sub: Subscribe to all broker status messages publishing on `iot.eclipse.org` port 1885 and print published messages verbosely.
    $ mosquitto_sub -v -h "iot.eclipse.org" -p 1885 -t ${\$SYS-#}
    try on your machine
    explain this command
  • mosquitto_sub:tldr:b396a mosquitto_sub: Subscribe to the topic `sensors/temperature` information with Quality of Service (`QoS`) set to 1. (The default hostname is `localhost` and port 1883).
    $ mosquitto_sub -t ${sensors-temperature} -q ${1}
    try on your machine
    explain this command
back to context overview