box-o-sand/oldstuff/RubyFun/cookbook/015/hodgepodge/app/controllers/status_controller.rb

9 lines
154 B
Ruby
Raw Normal View History

2011-08-09 01:09:18 +00:00
class StatusController < ApplicationController
def index
2011-08-09 10:33:51 +00:00
@title = "System Status"
2011-08-09 01:15:59 +00:00
time = Time.now
@time = time
@ps = `ps aux`
2011-08-09 01:09:18 +00:00
end
end