• General ReviewsTRENDING
    Kicksta reviews

    Kicksta Reviews

    Lift My Social Review

    Lift My Social review

    Hypeplanner reviews

    Hypeplanner reviews

    SocialCaptain Reviews

    SocialCaptain Reviews

    How to customize dock icons and folders in macOS

    How to customize dock icons and folders in macOS

    Google Maps

    This is the full dark mode of Google Maps, the application prepares to activate it

    Access Dots

    Access Dots – Knowing if an app is filming you without your knowledge

    Fitocracy (iOS)

    Free smartphone apps to keep in shape

    Spotify Lite is finally available on Android

    Spotify Lite is finally available on Android

  • Company ReviewsLOVED
    Kicksta reviews

    Kicksta Reviews

    Lift My Social Review

    Lift My Social review

    Hypeplanner reviews

    Hypeplanner reviews

    SocialCaptain Reviews

    SocialCaptain Reviews

    How to customize dock icons and folders in macOS

    How to customize dock icons and folders in macOS

    Google Maps

    This is the full dark mode of Google Maps, the application prepares to activate it

    Access Dots

    Access Dots – Knowing if an app is filming you without your knowledge

    Fitocracy (iOS)

    Free smartphone apps to keep in shape

    Spotify Lite is finally available on Android

    Spotify Lite is finally available on Android

  • Service ReviewsTHE VERY BEST
    Kicksta reviews

    Kicksta Reviews

    Lift My Social Review

    Lift My Social review

    Hypeplanner reviews

    Hypeplanner reviews

    SocialCaptain Reviews

    SocialCaptain Reviews

    This free extension will help you read faster and more concentrated

    This free extension will help you read faster and more concentrated

    Google Maps

    This is the full dark mode of Google Maps, the application prepares to activate it

    Dashlane

    Dashlane – The simple, transparent and super convenient password manager

    Windows 10: the build 18956 is here, what's new on the horizon?

    Windows 10: the build 18956 is here, what’s new on the horizon?

    Windows 10

    Windows 10: tips to improve security

  • Popular ReviewsHOT!
Review of US
  • General ReviewsTRENDING
    Kicksta reviews

    Kicksta Reviews

    Lift My Social Review

    Lift My Social review

    Hypeplanner reviews

    Hypeplanner reviews

    SocialCaptain Reviews

    SocialCaptain Reviews

    How to customize dock icons and folders in macOS

    How to customize dock icons and folders in macOS

    Google Maps

    This is the full dark mode of Google Maps, the application prepares to activate it

    Access Dots

    Access Dots – Knowing if an app is filming you without your knowledge

    Fitocracy (iOS)

    Free smartphone apps to keep in shape

    Spotify Lite is finally available on Android

    Spotify Lite is finally available on Android

  • Company ReviewsLOVED
    Kicksta reviews

    Kicksta Reviews

    Lift My Social Review

    Lift My Social review

    Hypeplanner reviews

    Hypeplanner reviews

    SocialCaptain Reviews

    SocialCaptain Reviews

    How to customize dock icons and folders in macOS

    How to customize dock icons and folders in macOS

    Google Maps

    This is the full dark mode of Google Maps, the application prepares to activate it

    Access Dots

    Access Dots – Knowing if an app is filming you without your knowledge

    Fitocracy (iOS)

    Free smartphone apps to keep in shape

    Spotify Lite is finally available on Android

    Spotify Lite is finally available on Android

  • Service ReviewsTHE VERY BEST
    Kicksta reviews

    Kicksta Reviews

    Lift My Social Review

    Lift My Social review

    Hypeplanner reviews

    Hypeplanner reviews

    SocialCaptain Reviews

    SocialCaptain Reviews

    This free extension will help you read faster and more concentrated

    This free extension will help you read faster and more concentrated

    Google Maps

    This is the full dark mode of Google Maps, the application prepares to activate it

    Dashlane

    Dashlane – The simple, transparent and super convenient password manager

    Windows 10: the build 18956 is here, what's new on the horizon?

    Windows 10: the build 18956 is here, what’s new on the horizon?

    Windows 10

    Windows 10: tips to improve security

  • Popular ReviewsHOT!
No Result
View All Result
Review of US
No Result
View All Result
Home Blockchain

What are the processes and how can we manage them in Ubuntu

in Blockchain, Gaming, Popular Reviews, Smartphones, Technology, Windows
What are the processes and how can we manage them in Ubuntu
Share on FacebookShare on Twitter

Today Ubuntu (and most GNU / Linux distros) have one Complex User Interface, Which allows the user to use the System almost without knowing anything about it, and that’s fine. It is based on the premise that the user does not have to have advanced knowledge, which is why the use of Ubuntu and GNU / Linux in general is increasingly intuitive.

Now, it never hurts to know how what we’re using works. Also, we know that using GNU / Linux is partly because of your dissatisfaction, your curiosity, and your desire to learn. So in Ubunlog we want to write a slightly more technical article and teach you what processes are and how they work in Ubuntu. We will teach you how to list running processes, search for a particular process, and kill them. Let’s get started.

As we all know, Ubuntu (GNU / Linux) is a multitasking Operating System. This means that it is able to run several processes (tasks) simultaneously, without any problems between them.

Table of Contents

  • But … What is a process?
    • ReadAlso
    • Install your own VPN Server with OpenVPN on Ubuntu 10.04 Server
    • How to install Ubuntu 12.04 LTS “Precise Pangolin” – friendly links
    • How to create Live USB with more than one Linux distro using Yumi
    • Best Linux distros for Netbooks
  • How do I know what processes are running on Ubuntu?
  • And … How can I kill a process?

But … What is a process?

A process is nothing more than an instance of a program. In other words, a program is nothing more than a series of processes running. So in a colloquial way, a process could be understood as a program that is running.

Processes, as some of you may already know, can be executed in two ways; a foreground (In the foreground) or a background (Background).

ReadAlso

Install your own VPN Server with OpenVPN on Ubuntu 10.04 Server

April 12, 2021
How to install Ubuntu 12.04 LTS “Precise Pangolin” – friendly links

How to install Ubuntu 12.04 LTS “Precise Pangolin” – friendly links

April 12, 2021
How to create Live USB with more than one Linux distro using Yumi

How to create Live USB with more than one Linux distro using Yumi

April 11, 2021
Best Linux distros for Netbooks

Best Linux distros for Netbooks

April 11, 2021

In addition, for the most curious, a process also has one state, As it can not only be running-. If for example a process A launches another process B, el A it becomes known as the process pare and the B as the process son (child). The most common is that when this happens, A stay in condition suspended.

We can see it with an example:

Yes we open the Terminal of our Ubuntu, we are already launching a new process, as the terminal is another program. What if from the Terminal we launch another program, We will see that it is suspended. That is, if once the Terminal is open, we run:

gedit f_prueba

to open a new file named f_test (With the Gedit text editor), we will see that the terminal is suspended and that “we can no longer continue to use it.” If we wanted to continue using this same Terminal after launching the process, we just need to launch it at background (Background), that is, we just run:

gedit f_prueba &

The “&” symbol indicates that we want this process to run on background. In this way, once the process is launched, we can continue to use the Terminal, as it will not be suspended and both processes will continue to run normally.

How do I know what processes are running on Ubuntu?

To see the list of running processes, just open a terminal and run:

ps -aux

And we will see an exit like the following one:

Capture of 2016.05.22 16:19:21

The only information we are interested in from the list is PID. The PID (Process Identifier) ​​is an integer that, as its name suggests, is responsible for identifying a single process.

In addition, Ubuntu (and all GNU / Linux distros) have a file that determines the maximum value of the PID. This obviously determines the maximum number of processes to be executed. The file is called pid_max and is inside the / proc / sys / kernel / directory. If you want to see the content quickly just run:

cat / proc / sys / kernel / pid_max

And you’ll see how, by default, the maximum number of processes that can be run is 32768. It’s important that you walk carefully moving — through these directories — as a bad change could be fatal.

On the other hand, if we want to look for the processes associated with a particular program we can use a pipe and grep command to filter the result. That is, if for example we want to see all the processes associated with Gimp, we can run:

ps -aux | grep gimp

Capture of 2016.05.22 16:25:53

As you can see, in my case there are 3 processes associated with Gimp.

And … How can I kill a process?

Killing a process means ending it, sending the corresponding signal for the process to end. To do this is as easy as using the command kill. This is where we need to know the PID of the process we want to kill. In the example above, let’s say I want to end the Gimp process that has 5649 as PID. So just run:

kill 5649

Now how can I kill in one fell swoop all the processes associated with a program? Very easy too. If in my case I want to kill all Gimp processes, I can use the command pkill. As follows:

pkill gimp

that would kill all Gimp processes, that is, processes with PIDs 5649, 5719, and 5782. Easy right? If a program freezes and you didn’t know how to end it, now you have a possible solution 😉

We hope this little guide has helped you understand a little better how Ubuntu and Linux work in general. Knowing how to work and manage processes is basic in Linux and at the same time very important. However we know that this guide has been quite simple and concise, so if you are curious and want to delve a little deeper into the subject, you can take a look at process life cycle oal ‘ Linux scheduler (Process Planner).

Until the next 😉

Previous Post

Install Plasma 5.6.4 on Kubuntu 16.04 LTS

Next Post

Pick, a color picker tool for Linux

Related Posts

Blockchain

Install your own VPN Server with OpenVPN on Ubuntu 10.04 Server

April 12, 2021
How to install Ubuntu 12.04 LTS “Precise Pangolin” – friendly links
Blockchain

How to install Ubuntu 12.04 LTS “Precise Pangolin” – friendly links

April 12, 2021
How to create Live USB with more than one Linux distro using Yumi
Blockchain

How to create Live USB with more than one Linux distro using Yumi

April 11, 2021
Best Linux distros for Netbooks
Blockchain

Best Linux distros for Netbooks

April 11, 2021
How to Install Ubuntu on a Power PC G4 for Mac
Blockchain

How to Install Ubuntu on a Power PC G4 for Mac

April 11, 2021
Main features of Unit 5.0
Blockchain

Main features of Unit 5.0

April 10, 2021
How to Back Up Ubuntu April 12
Blockchain

How to Back Up Ubuntu April 12

April 10, 2021
Next Post
Pick, a color picker tool for Linux

Pick, a color picker tool for Linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You might also like

Install your own VPN Server with OpenVPN on Ubuntu 10.04 Server

April 12, 2021
How to install Ubuntu 12.04 LTS “Precise Pangolin” – friendly links

How to install Ubuntu 12.04 LTS “Precise Pangolin” – friendly links

April 12, 2021
How to create Live USB with more than one Linux distro using Yumi

How to create Live USB with more than one Linux distro using Yumi

April 11, 2021
Best Linux distros for Netbooks

Best Linux distros for Netbooks

April 11, 2021
How to Install Ubuntu on a Power PC G4 for Mac

How to Install Ubuntu on a Power PC G4 for Mac

April 11, 2021
Main features of Unit 5.0

Main features of Unit 5.0

April 10, 2021
  • Privacy Policy
  • Cookies Policy
  • Terms and Conditions
Call us: +1 949 662 3421
No Result
View All Result
  • General Reviews
  • Company Reviews
  • Service Reviews
  • Popular Reviews

© 2020 Review of U.S. - Truth matters Stay connetced.

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In