7 graph_category passenger
8 graph_title Passenger processes
9 graph_order active inactive
10 graph_vlabel processes
13 active.label busy servers
15 inactive.label idle servers
22 status = `/usr/sbin/passenger-status`
23 unless $CHILD_STATUS.success?
24 $stderr.puts "failed executing passenger-status"
27 status =~ /active\s+=\s+(\d+)/
28 puts "active.value #{Regexp.last_match[1]}"
30 status =~ /inactive\s+=\s+(\d+)/
31 puts "inactive.value #{Regexp.last_match[1]}"
34 if ARGV[0] == "config"