awk for pid check