class FlameServerToys::Template::Status
Status
of server
Public Instance Methods
ps_with_grep(pattern)
click to toggle source
# File lib/flame_server_toys/template/status.rb, line 20 def ps_with_grep(pattern) sh "ps aux | grep #{pattern} --color", print: false, exit_on_fail: false end