# File lib/mongrel_console/console.rb, line 60 def status if File.exist? "log/mongrel.pid" pid = open("log/mongrel.pid") {|f| f.read.to_i } puts "Running on port #@port in env #@env with PID #{pid}" else puts "Mongrel not running." end end