Monitor Wine Apps Traffic

Questions about Wine on Linux
Locked
frasina92
Newbie
Newbie
Posts: 1
Joined: Tue Sep 17, 2019 10:09 pm

Monitor Wine Apps Traffic

Post by frasina92 »

I'm using Lubuntu on which I'm running WINE. Generic Lubuntu installation gives you a monitoring tool called "Benchmark" which shows internet connections IPs/Ports etc, but does not show you which application was the initiator.

Parallel, on WINE i have a few application and I would like to know if any of them creates any connection independently to the internet, so I was wondering if there is a way to monitor application that connect to the internet and use WINE.

Is there a tool, option, package etc? that will allow me to achieve that?
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Monitor Wine Apps Traffic

Post by k3ck3c »

lsof will show you many things about a process, all the files opened and IP ports used, just

Code: Select all

lsof -p 1234
will do for the process id 1234

also, if your process has a lot of network activity, it will be shown with nethogs, which shows the processes that has the biggest network activity

Code: Select all

sudo nethogs
will monitor all network interfaces, or

Code: Select all

sudo nethogs eth0

will only monitor eth0
Locked