Reputation: 5092
I know to find the process id of the process name using the top, pidof, ps commands. Anyother way to find the process id of the process name. Thanks in Advance.
For example:
pidof bash
4587
Upvotes: 1
Views: 195
Reputation: 7474
You can also use this:
ps -A | grep 'process_name'
You can refer: ps command for more information
Upvotes: 2