How to See Which Processes Are Running in Linux
This is pretty straightforward to experienced Linux users, but it wasn’t obvious to me when I started using Linux. Linux has a nifty program that will tell you what processes are currently running, how much memory/CPU they are using, etc. It also allows you to kill processes that may be running in the background.
At the command line, enter top. If you want to kill a process, type k, and then it will prompt you for the process id (PID) of the process you want to kill. You can find the PID in the output of top. Then it will ask for a signal to send to the process; I always just hit Enter without sending a message.
When you want to exit top, you just hit q (for quit).
You can do more than this with top; that’s just an introduction.
