[CentOS] Check network activity per process.

Thu Jun 3 19:30:26 UTC 2021
Anand Buddhdev <anandb at ripe.net>

On 03/06/2021 03:44, Kaushal Shriyan wrote:

Hi Kaushal,

The atoptool web page clearly explains how atop, netatopd and the
netatop kernel module interact. Have you even read the web page? Please
read it first, and then ask a more specific question. Don't leave all
the research work to other people.

Regards,
Anand

> I am referring to https://www.atoptool.nl/netatop.php and installed
> https://www.atoptool.nl/downloadnetatop.php kernel module netatop on CentOS
> Linux release 7.9.2009 (Core). How do I check Network activity per
> process? For example network activity for the Nginx webserver process.
> 
> #systemctl status netatop
> ● netatop.service - Netatop kernel module
>    Loaded: loaded (/usr/lib/systemd/system/netatop.service; enabled; vendor
> preset: disabled)
>    Active: active (exited) since Thu 2021-06-03 06:58:36 IST; 10min ago
>      Docs: man:netatop(4)
>  Main PID: 29083 (code=exited, status=0/SUCCESS)
>    CGroup: /system.slice/netatop.service
>            └─29086 /usr/sbin/netatopd
> 
> Jun 03 06:58:36 marketplacedisruptionsuitevapt systemd[1]: Starting Netatop
> kernel module...
> Jun 03 06:58:36 marketplacedisruptionsuitevapt systemd[1]: Started Netatop
> kernel module.
> Jun 03 06:58:36 marketplacedisruptionsuitevapt netatopd[29086]: version 3.1
> actived
> 
> Please guide. Thanks in advance.
> 
> Best Regards,
> 
> Kaushal