site stats

How to find which apps is using internet connection on unix/linux

Do you want to find out the apps that are using your internet connection in UNIX/LINUX? Doing this may sound impossible or even a long procedure, but I have found out some great shortcuts that will answer your question “How to find which apps is using Internet connection on UNIX/LINUX?” The methods that I have mentioned are simple. Go ahead and try them out on your UNIX/LINUX based system.

Check out the applications that are using the internet

On the terminal of the desktop you need to type in the following command and all the apps that are using the internet connection will be displayed. The command has been mentioned below.

Isof –P –i –n

linux terminal window

Once you type this command you will get a list of all the applications that are making use of the internet at that point of time.

In case you fell that there are certain apps that you are not using and it has frozen up, then you may wish to end its usage but don’t really know how to go about it. For this also there are certain commands that are present. Use them and you will be able to shut them down, so that you get the internet connectivity speed for the other apps that are functioning properly.

Closing down apps

I’m sure that you are acquainted with the term “force quit” but there are times when that does not work as well and you need to make sure that there is some other way to shut the app down. Go to the terminal and type out the following command:

ps –e

Once you have keyed in the command, you will have to move to the next step that is you will need to get clear of the Process ID (PID). To explain this, we will require an example, so let us take the example of GEdit, an application that is not running properly anymore and needs to be shut down.

We first need to get the PID of this application, and for this, we need to type in the following command on the terminal.

Ps –e | grep gedit

Once you have typed in this command, you will get the PID of the app in return, as in, it will be displayed on the screen. Let’s take that the PID of the app that is not functioning smoothly any more is 7. Now you need to use this PID to shut down the app. There is a very simple command for this, as well. The command has been mentioned below.

Kill -7 PID

Once you have typed in this command, the app that has stopped working properly will shut down and it will no longer use the internet.

This is how to find which apps is using internet connection in UNIX/LINUX and get rid of the ones that have stopped working properly. Use these simple commands that I have mentioned, for your UNIX/LINUX based system and you are sure to have a faster connection as the frozen apps will get shut with the help of these commands.

Speak Your Mind

*


- 2 = two