Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

TcpView For Linux

Graphical network connections viewer for Linux

Build Status

To get the last release version, please use the PPA:

$ sudo add-apt-repository
$ sudo apt-get update
$ sudo apt-get install tcpview

Debian packages (.deb)

Home page:



TcpView For Linux. Touch screen friendly design graphical network connections viewer for Linux.

Names – Show command line, name of the process that owns endpoint.
Pause - Stop loading new records
Record - Do not delete old records.
Copy - Copy the data of a row to the clipboard
Save – Export data to a CSV or XML file
Whois - Service gives you the ability to find out the registered domain holder.
Zoom slider - Will help you select appropriate font size.

How does it work?

"Base module"

Read and parse the information available from


The data used from output is:

sl - The number of the line in the output listing.
st - The socket status.
Uid - The ID of the user that owns the socket.
Inode - A cryptic-looking number that identifies the socket to the Linux virtual filesystem.

"Root module"

Loop through /proc/pid/fd/ for collect "inode list" and associated "command line" data

How to build

Install the build-dependencies on the host system

$ sudo apt-get install build-essential
$ sudo apt-get install qtcreator
$ sudo apt-get install qt5-default
$ sudo apt-get install uuid-dev


Open terminal in your preferred folder:

$ git clone


Either open with Qt Creator for editing and building, or from the terminal:

$ cd tcpview
$ qmake
$ make

Run tcpview

$ ./tcpview


Use the Qt Linguist tool to translate text

$ sudo apt-get install qttools5-dev-tools

Open tcpview folder with terminal and update translations:

$ lupdate -no-obsolete -verbose -pro

Open all editable translations:

$ cd translations
$ linguist language_en.ts language_cs.ts language_de.ts language_fr.ts language_ja.ts language_pl.ts language_ru.ts language_sl.ts language_zh_CN.ts language_zh_TW.ts
$ cd ..

And update .qm files:

$ lrelease -removeidentical -compress

Finally, rebuild tcpview.

Adding new translations

Add a new translations xx.ts file to, rebuild tcpview and add your new xx.qm to tcpview.qrc. Finally rebuild tcpview.

You can’t perform that action at this time.