> For the complete documentation index, see [llms.txt](https://pooja-shah.gitbook.io/basics-of-linux-workshop/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pooja-shah.gitbook.io/basics-of-linux-workshop/processes.md).

# Processes

* Search a process if its running or not
  * `ps -ef | grep GIVE_YOUR__PROCESS_NAME`
* To check cup/memory usage by each process
  * htop or top     [More](http://www.deonsworld.co.za/2012/12/20/understanding-and-using-htop-monitor-system-resources/)
* kill
  * `sudo kill -9 YOUR__PROCESS_ID`

**Exercise:**

* Write a command to find a specific running process and kill it.
