Once upon a time, Tim Dunphy <bluethu...@gmail.com> said:
> pid=$(ps -ef | grep cassandra | grep -v grep | grep -i -v -e grep -e screen
> -e s3fs|awk '{print $2}')

You can probably replace that with a much cleaner pid=$(pidof cassandra).

-- 
Chris Adams <li...@cmadams.net>
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to