Make function for process grep

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>