SHUTDOWN NOW (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search



Command arguments: none

List arguments: <shutdown command>



22      SHUTDOWN_NOW[]:[]halt


Request that a slave backend shutdown with the given command. This command will have no affect on the master backend.

Caution: a slave backend will execute any command it is given using SHUTDOWN_NOW. For example, sending the following message to a slave backend results in the log snippet after it:

35      SHUTDOWN_NOW[]:[]ping -c 3
2011-03-03 21:26:07.245 Going down now as of Mainserver request!
PING ( 56(84) bytes of data.
64 bytes from icmp_req=1 ttl=64 time=0.082 ms
64 bytes from icmp_req=2 ttl=64 time=0.067 ms
64 bytes from icmp_req=3 ttl=64 time=0.079 ms

--- ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.067/0.076/0.082/0.006 ms


The backend will not respond to this message.