pid | procname | is active? | <% monitored_procs.each do |mproc| %> <% active = all_procs.select{|p| p.cmdline =~ /#{mproc[:cmdline]}/i } if (active && active.count > 0) active.each do |ap| %> |
---|---|---|---|
<%= ap.pid %> | <%= ap.cmdline %> | Yes | |
None | <%= mproc[:cmdline] %> | No |