#!/bin/sh
p0f -q $* &
com=$!
sleep 3
# if the command is still here( ie not crashed )
# grep will return a good return value
ps | awk "{print \$1}" | grep $com 1>/dev/null 2>&1
