zenoss/zenoss-prodbin — pull request #157 by wplu (2014-04-18 10:20:28+00:00)
Title: debug and stats should only signal the python program and avoid the java...

... program

ISSUE - java process is signaled (causing it to restart) in addition to python process which manages the java process:
```
# plu@plu-ubuntu: serviced attach -pattern zenjmx ps -wwef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 09:58 ? 00:00:00 /serviced/serviced proxy 3b20821c-244f-a44d-bab0-11cf4ad53009 su - zenoss -c "/opt/zenoss/bin/zenjmx run -c --duallog "
root 15 1 0 09:58 ? 00:00:02 /usr/local/serviced/resources/logstash/logstash-forwarder -old-files-hours=26280 -config /etc/logstash-forwarder.conf
root 103 1 0 10:00 ? 00:00:00 su - zenoss -c /opt/zenoss/bin/zenjmx run -c --duallog
zenoss 104 103 3 10:00 ? 00:00:07 /opt/zenoss/bin/python /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenJMX-3.11.0-py2.7.egg/ZenPacks/zenoss/ZenJMX/zenjmx.py --configfile /opt/zenoss/etc/zenjmx.conf -c --duallog
zenoss 238 1 0 10:04 ? 00:00:00 [expr]
zenoss 243 104 3 10:04 ? 00:00:01 java -server -Xmx512m -cp ./*:/opt/zenoss/zenjmx-libs/*: com.zenoss.zenpacks.zenjmx.ZenJmxMain --configfile /opt/zenoss/etc/zenjmx.conf -zenjmxjavaport 9988 --configfile /opt/zenoss/etc/zenjmx.conf -v 20
root 279 0 0 10:04 ? 00:00:00 ps -wwef

# plu@plu-ubuntu: serviced action zenjmx debug
Sending SIGUSR1 to PIDS: 104 243

```

DEMO:
```
# plu@plu-ubuntu: serviced action zenjmx debug
Sending SIGUSR1 to PIDS: 104
```