# File src/ruby_supportlib/phusion_passenger/config/utils.rb, line 108 def list_all_passenger_instances(instances, print_preamble = true) if print_preamble puts "The following #{PROGRAM_NAME} instances are running:" puts end printf "%-25s %-7s %s\n", "Name", "PID", "Description" puts "--------------------------------------------------------------------------" if instances.empty? printf "%-25s %-7s %s\n", "(list empty)", "-", "-" else instances.each do |instance| printf "%-25s %-7s %s\n", instance.name, instance.watchdog_pid, instance.server_software end end end