parent
be93849c02
commit
6b5ccdcc16
@ -1,5 +1,7 @@
|
||||
class StatusController < ApplicationController
|
||||
def index
|
||||
time = Time.now
|
||||
@time = time
|
||||
@ps = `ps aux`
|
||||
end
|
||||
|
||||
end
|
||||
|
@ -1,2 +1,2 @@
|
||||
<h1>Status#index</h1>
|
||||
<p>Find me in app/views/status/index.html.erb</p>
|
||||
<h1>Processes running at <%= @time %></h1>
|
||||
<pre><%= @ps %></pre>
|
||||
|
Loading…
Reference in new issue