How do I grep a process in Linux?

Quang Hiếu

New member
How do I grep a process in Linux?
Answer
Procedure to find process by name on Linux
  1. Open the terminal application.
  2. Type the pidof command as follows to find PID for firefox process: pidof firefox.
  3. Or use the ps command along with grep command as follows: ps aux | grep -i firefox.
  4. To look up or signal processes based on name use:
8 янв. 2018 г.
 

Tìm kiếm

Back
Top