# ps ã® C ãªãã·ã§ã³ã§æå®ãã $ ps --no-heading -C <prog_name> -o pid # grep ã§çµãè¾¼ã $ hoge_detach_process & $ ps -e -o pid,cmd | grep hoge_detach_process | grep -v grep | awk '{ print $1 }' # æ£è¦è¡¨ç¾ã使ç¨ãã $ ps -e -o pid,cmd | grep -E "^.*hoge_detach_process$" | awk '{print $1}' $ ps -e -o pid,cmd | awk '/^.*hoge_detach_process$/ {print $1}'
{{#tags}}- {{label}}
{{/tags}}