View Single Post
Old 15th September 2015
gso gso is offline
Port Guard
 
Join Date: Nov 2014
Posts: 35
Default

A rc script duly implementing the above http://daemonforums.org/showthread.php?t=9384

As to the man page, the '-O' flag is described as:
Code:
     -O	ctl_cmd
	     Control an	active connection multiplexing master process.	When
	     the -O option is specified, the ctl_cmd argument is interpreted
	     and passed	to the master process.	Valid commands are: ``check''
	     (check that the master process is running), ``forward'' (request
	     forwardings without command execution), ``cancel''	(cancel	for-
	     wardings),	``exit'' (request the master to	exit), and ``stop''
	     (request the master to stop accepting further multiplexing
	     requests).
I would be tempted to add something along the lines of the following to the end of the paragraph:

Quote:
The ''check'' command can be used to obtain the PID of a running master process. All output from commands is sent to standard error.
Reply With Quote