Check running processes in Ubuntu

To check running processes in Ubuntu, you can use the top command or the ps command.

  1. Using the top command:
    • Open the terminal by pressing Ctrl+Alt+T on your keyboard.
    • Type top and press Enter.
    • You will see a list of processes currently running on your system, sorted by CPU usage.
    • To exit the top command, press Ctrl+C.
  2. Using the ps command:
    • Open the terminal by pressing Ctrl+Alt+T on your keyboard.
    • Type ps aux and press Enter.
    • You will see a list of all running processes on your system, along with their process IDs (PIDs) and other information.
    • To exit the ps command, press Ctrl+C.

Note that the ps command provides more detailed information about the running processes than the top command. You can also use various options with the ps command to filter the output based on your requirements.