Tuesday, April 16, 2013

pgrep

http://linux.die.net/man/1/pgrep


find the process
sometime using "ps aux | grep XXX" will get garbage

[Note] use "-f" option to search full command line
[Note] use "ps aux | grep xxx | grep -v grep" to avoid "grep" in the result...

No comments:

Related Posts Plugin for WordPress, Blogger...