shell程序中如何判断某个程序是否在运行?

一个进程有多种状态,run or running more.......
[quote:121c1eb638="powerme"]一个进程有多种状态,run or running more.......[/quote]
对,说的没错!