メニューの編集
Ruby
pschk = `ps aux | grep httpd | grep -v grep | wc -l` if psck.to_i > 1 then puts "NG" else push "OK" end
数値
文字列