[[Ruby]] *ソース [#oda7023f] pschk = `ps aux | grep httpd | grep -v grep | wc -l` if psck.to_i > 1 then puts "NG" else push "OK" end ***to_i [#b1fdf60a] 数値 ***to_s [#z8ee160d] 文字列