# File lib/mongrel_cluster/init.rb, line 133 def status read_options status = STATUS_OK @ports.each do |port| pid = check_process(port) unless pid_file_exists?(port) log "missing pid_file: #{port_pid_file(port)}" status = STATUS_ERROR else log "found pid_file: #{port_pid_file(port)}" end if pid log "found mongrel_rails: port #{port}, pid #{pid}" else log "missing mongrel_rails: port #{port}" status = STATUS_ERROR end puts "" end status end