GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NET-MQTT-PUB(1) User Contributed Perl Documentation NET-MQTT-PUB(1)

net-mqtt-pub - Perl script for publishing to an MQTT topic

version 1.143260

  # messages one per line on stdin
  echo message | net-mqtt-pub [options] topic

  # message as command line arguments
  net-mqtt-pub [options] topic this is a message

This script publishes each line from stdin as an MQTT message on the given topic.

-help
Print a brief help message.
-man
Print the manual page.
-host
The host running the MQTT service. The default is 127.0.0.1.
-port
The port of the running MQTT service. The default is 1883.
-client-id
The client id to use in the connect message. The default is 'NetMQTTpm' followed by the process id of the process.
-verbose
Include more verbose output. Without this option the script only outputs errors
-keepalive NNN
The keep alive timer value. Defaults to 120 seconds. For simplicity, it is also currently used as the connection timeout.
-retain
Set the retain flag on the message. Default is not set.

Net::MQTT::Message(3)

This is not official IBM code. I work for IBM but I'm writing this in my spare time (with permission) for fun.

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.

2014-11-22 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.