To get a simple list:
ps aux
To filter for a process by name, pipe it to grep. In the example below we will find all the Apache processes:
ps aux | grep apache
To get a simple list:
ps aux
To filter for a process by name, pipe it to grep. In the example below we will find all the Apache processes:
ps aux | grep apache
The `ps aux | grep apache` command is a classic for finding specific processes, yet it always makes me chuckle when I inevitably see the `grep` process itself in the results. For something so fundamental, it feels almost too primitive at times, like there should be a cleaner native flag for simple name filtering.