ANYEVEN...-MONITOR(1)

πŸ“¦ version 1.212810, in alpine 3.24

🌸 NAME 🌸

okay so anyevent-mqtt-sub is a Perl script for subscribing to an MQTT topic. You’re reading the ANYEVEN...-MONITOR(1) page, from the User Contributed Perl Documentation collection. Hiiii bestie, let’s get into it. πŸ’–

🌈 VERSION 🌈

It’s giving version 1.212810. Periodt.

✨ SYNOPSIS ✨

Run it like this:

anyevent-mqtt-sub [options] topic1 [topic2] [topic3] ...

πŸ¦‹ DESCRIPTION πŸ¦‹

This script subscribes to one or more MQTT topics and prints any messages that it receives to stdout. That’s the whole vibe: you give it topic(s), it listens, messages show up in your terminal. Slay.

πŸ’… OPTIONS πŸ’…

  • -help β€” prints a brief help message. Tiny helper energy. 🫢
  • -man β€” prints the manual page. Yes, the very page you’re reading, meta king.
  • -host A.B.C.D β€” the host running the MQTT service. Default is 127.0.0.1.
  • -port NNNNN β€” the port of the running MQTT service. Default is 1883.
  • -qos N β€” the QoS level for the published message. Default is 0 ("MQTT_QOS_AT_MOST_ONCE").
  • -verbose β€” include more verbose output. More words, more lore. ✨
  • -keepalive NNN β€” the keep alive timer value. Defaults to 120 seconds. For simplicity, it is also currently used as the connection/subscription timeout. iykyk.
  • --history-size NNN β€” number of messages to keep for each topic. Defaults to keeping 20 messages.
  • --no-retain β€” ignore retained messages. That is, wait for new messages rather than processing existing retained messages. Fresh-message-only mindset. 🧚

πŸ‘‘ SEE ALSO πŸ‘‘

AnyEvent::MQTT(3) β€” go read that too, bestie.

πŸŽ€ AUTHOR πŸŽ€

Mark Hindess <soft-cpan@temporalanomaly.com>

This software is copyright (c) 2014 by Mark Hindess.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


πŸ’Œ Sign-off: this page is from perl v5.42.2, dated 2026-04-15, and it lives under the ANYEVEN...-MONITOR(1) name. Byeee, mwah. πŸ’‹

πŸ“¦ where this page comes from