.. _signal: Send a signal ============= This command allows you to send a signal to all processes in a watcher, a specific process in a watcher or its children. ZMQ Message ----------- To send a signal to all the processes for a watcher:: { "command": "signal", "property": { "name": , "signum": } To send a signal to a process:: { "command": "signal", "property": { "name": , "pid": , "signum": } An optional property "children" can be used to send the signal to all the children rather than the process itself:: { "command": "signal", "property": { "name": , "pid": , "signum": , "children": True } To send a signal to a process child:: { "command": "signal", "property": { "name": , "pid": , "signum": , "child_pid": , } It is also possible to send a signal to all the processes of the watcher and its childs:: { "command": "signal", "property": { "name": , "signum": , "children": True } Command line ------------ :: $ circusctl signal [] [] [--children] Options: ++++++++ - : the name of the watcher - : integer, the process id. - : the signal number to send. - : the pid of a child, if any - : boolean, send the signal to all the children Allowed signals are: - 3: QUIT - 15: TERM - 9: KILL - 1: HUP - 21: TTIN - 22: TTOU - 30: USR1 - 31: USR2