Class: ProcessusController

Inherits:
ApplicationController show all
Defined in:
app/controllers/processus_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



2
3
# File 'app/controllers/processus_controller.rb', line 2

def index
end

#index_staticObject



5
6
7
# File 'app/controllers/processus_controller.rb', line 5

def index_static
  render :text => Time.new.strftime("%Y-%m-%d_%H:%M:%S") + '<br/>' + `ps -edfH`
end