2008年5月8日星期四

s/sed/perl/

procs is a function
procs ()
{
ps -ef | perl -plane 's{.*$F[6] }{}'
}

2 条评论:

leelay 说...

啊,你是如何做到发布日志的。
我在发布时会遇到问题。

leelay 说...

in procs(), can use bash command ?
i should to find that how can bash command run in ruby code