Jan 172011
Find the process ID of a running program
Answer:
The easiest way to get all the process IDs of a running program in Linux, see the following example:
# pidof apache2
29747 29745 29700 29698 29696 29695 29687 29678 29677 29664 23931
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Find the process ID of a running program
Answer:
The easiest way to get all the process IDs of a running program in Linux, see the following example:
# pidof apache2
29747 29745 29700 29698 29696 29695 29687 29678 29677 29664 23931