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;}'
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;}'