# File lib/mongrel_cluster/init.rb, line 167
    def check_process(port)
      if pid_file_exists?(port)
        pid = read_pid(port)
        ps_output = `ps -o #{cmd_name}= -p #{pid}`
        pid = ps_output =~ /mongrel_rails/ ? pid : nil
      else
        pid = find_pid(port)
      end
      pid
    end