Get just the PID of a running process.

How to get just the PID of a running process. There are a couple of very useful ways to get the Process ID of a running process. This is a way using grep and awk. This prints multiple numbers if there are multiple related processes running, like the Apache2 server…

Read More