pidof
22.08.06 13:59 |
Mac OS X
Here's one way of recreating that handy utility. I'm
assuming that the utility is always run after the
program we're looking for, so it has a smaller PID
fiBook:~ filipp$ ps A | grep something | grep
-v grep | awk '{print $1;}'
|