Linux - Find network activity of a user in realtime, Find network activity of a process

Find network activity of a user in realtime

View network activity of any application or user in realtime

  lsof -r 2 -p PID -i -a

The above command will help to find network activity of a process or a user in real time.


The "-r 2" option puts lsof in repeat mode, with updates every 2 seconds. (Ctrl -c quits)

The "-p" option is used to specify the application PID you want to monitor.

The "-u' option can be used to keep an eye on a users network activity.

"lsof -r 2 -u username -i -a"

The topic on Linux - Find network activity of a user in realtime is posted by - Math

Hope you have enjoyed, Linux - Find network activity of a user in realtimeThanks for your time

Tech Bluff