On Thu, Jul 5, 2018 at 5:07 AM, Sandro Bureca <sbur...@gmail.com> wrote: > For linux the following command can be used: > > cat /sys/class/net/eth0/statistics/rx_packets > cat /sys/class/net/eth0/statistics/tx_packets
Or you could just do this: watch -n1 netstat -ni Also, if you're looking to see what cores are being hammered during processing: cat /proc/interrupts and look for lines matching your device (if present): 139: 37 0 0 0 0 0 4605821 0 IR-PCI-MSI 1048576-edge enp2s0 140: 0 2328 0 0 42268740 0 0 0 IR-PCI-MSI 1048577-edge enp2s0-TxRx-0 141: 0 0 243 0 0 0 0 1650980 IR-PCI-MSI 1048578-edge enp2s0-tx-1 142: 0 0 0 8748551 0 0 0 0 IR-PCI-MSI 1048579-edge enp2s0-tx-2 143: 0 0 0 0 189 1341058 0 0 IR-PCI-MSI 1048580-edge enp2s0-tx-3 That's for an 8 core Skylake CPU on my desktop. Something like this will let you see it in 1 second intervals to see which core is getting the interrupts during network stuff: watch -n1 "cat /proc/interrupts | grep enp2s0" YMMV and all that. > > S. > > On 5 July 2018 at 03:35, Kaushal Shriyan <kaushalshri...@gmail.com> wrote: >> >> >> >> On Tue, Jul 3, 2018 at 11:33 PM Kaushal Shriyan <kaushalshri...@gmail.com> >> wrote: >>> >>> Hi, >>> >>> Is there a way to measure the amount of packets being processed by a >>> specific interface? >>> >>> For example : eth0 interface on Linux OS. >>> >>> I am actually trying to find out how many cpu cores is required in AWS to >>> spawn VM instance and i look forward to hearing from you. >>> >>> Thanks in Advance. >>> >>> Best Regards, >>> >>> Kaushal >>> >> >> Hi, >> >> I will appreciate if someone can pitch in for my earlier email to this >> mailing list. >> >> Best Regards, >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Iperf-users mailing list >> Iperf-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/iperf-users >> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Iperf-users mailing list > Iperf-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iperf-users > -- Jeff Lane TPP / Server Certification Lead "Entropy isn't what it used to be." ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Iperf-users mailing list Iperf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iperf-users