This tutorial will explain to any new or experienced user of the Ubuntu/Kubuntu operating system how they can open their command prompt and quickly have a list of currently running processes in one simple command. Read below to find out how you can optimize your productivity and system control as a Ubuntu/Kubuntu system administrator in just a few seconds.

The first step is of course to open your command prompt, which can be done by using the command launcher. The command launcher must be opened by using the “Alt + F2” key combination like so:

Press and hold the “Alt” key and then press the “F2” key once and now release the “Alt” key

 

Once you have performed the key combination highlighted above the command launcher should appear at the top center of your screen. It will appear as a small box with a text box to enter your command into. In this box you must type the text highlighted below and then hit the “Enter” key:

terminal

 

Once you type the text highlighted above into the command launcher and hit the “Enter” key, you will be presented with the “Terminal” window. This window may have a different name depending on whether you are running Ubuntu or Kubuntu so do not fear, if it is a black box with a blinking cursor then you are at your “Terminal”.

 

Inside this “Terminal” is where the magic happens. By which I mean you are about to see all of your running processes, their “Process ID” (or PID in shorter terms) and also which user is running that particular process as well as a few others depending on your account privileges.

 

In order to create and view the list of currently running processes you must type the text highlighted below into the “Terminal” and then hit the “Enter” key:

ps

 

The information will be in a format similar to below:

6183 pts/0    00:00:00 bash

 

The highlighted text above is an example of the “Bash” process running on my computer, which is the “Terminal” in this case. The “6183” will be the “Process ID”/”PID” of the “Bash”/”Terminal” process.

 

The “ps” command can also be used in order to find the “PID” of a process that you wish to end. This is very convenient when it comes to quitting a program that is not responding and slowing down your system. The tutorial on how to kill processes via the cmd in Ubuntu and Kubuntu is linked below:

https://chafflube.wordpress.com/2010/12/07/how-to-kill-processes-via-the-cmd-in-ubuntu-and-kubuntu/

Congratulations! You have just created a personalized list of all the processes currently running on your computer. Enjoy your newfound Linux system administration knowledge.

Advertisements