LP#1711194 osrf_config --diagnostic reports max-children
authorBill Erickson <berickxx@gmail.com>
Wed, 16 Aug 2017 18:10:13 +0000 (14:10 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 18 Aug 2017 16:34:18 +0000 (12:34 -0400)
commitb198681669ed28a510fd0d18d3a89d4dd0837ebe
treea1d5950c385b3ee9b992508c4d3c1ad70b9c6528
parente88891bcdd9781c2d291057a802e4f751202fee9
LP#1711194 osrf_config --diagnostic reports max-children

--diagnostic output shows the maximum number of allowed drones per
service along with the active drone count.  Additionally, a usage
percentage value is displayed.

E.g.

$ /openils/bin/osrf_control -l --diagnostic

* open-ils.acq   [1581] uptime=00:35 cputime=00:00:00 #drones=1/15 6%
* open-ils.actor [1629] uptime=00:35 cputime=00:00:00 #drones=2/15 13%

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
bin/opensrf-perl.pl.in