- status = `/usr/sbin/passenger-status`
- unless $CHILD_STATUS.success?
- warn "failed executing passenger-status"
- exit 1
+ global = passenger_status.text("/item/get_wait_list").to_i
+
+ puts "global.value #{global}"
+
+ passenger_status.get_elements("//supergroup").each do |supergroup|
+ name = supergroup.text("name")
+ queue = supergroup.text("get_wait_list").to_i
+
+ puts "#{name}.value #{queue}"