How can I see what processes are running in Linux?

How can I see what processes are running in Linux?
Answer
Linux list processes by user names
  1. Open the terminal window or app.
  2. To see only the processes owned by a specific user on Linux run: ps -u {USERNAME}
  3. Search for a Linux process by name run: pgrep -u {USERNAME} {processName}
  4. Another option to list processes by name is to run either top -U {userName} or htop -u {userName} commands.
30 дек. 2018 г.
 

Tìm kiếm

Back
Top