Salut, ce post peut t’aider :
ps -eo ppid,stat,cmd | grep -e '^ 1 ' | awk '/zigbeed/ {print substr($2,1,1)}'