Search code examples
linuxgrepps

how to grep a specific process from ps in linux?


when I ps -af | grep rv I get lots of result even with something that has service

but I am looking for searching specific process named rv


Solution

  • Just append the -w argument to grep

    ps -af | grep -w rv