Kaushal Shriyan
2021-Sep-06 17:35 UTC
[CentOS] Find out which process consumed Network bandwidth
Hi, I am running CentOS Linux release 7.9.2009 (Core). Is there a way to find out which process consumed network bandwidth during a specific time period? For example, the Nginx process consumed how much network traffic on Sept 01, 2021. Best Regards, Kaushal
Anand Buddhdev
2021-Sep-06 18:24 UTC
[CentOS] Find out which process consumed Network bandwidth
On 06/09/2021 19:35, Kaushal Shriyan wrote: Hi Kaushal,> I am running CentOS Linux release 7.9.2009 (Core). Is there a way to find > out which process consumed network bandwidth during a specific time period? > > For example, the Nginx process consumed how much network traffic on Sept > 01, 2021.As far as I know, such accounting isn't done in a standard CentOS system, so there's no way to determine such information about a past event. Regards, Anand
jacraig at vcu.edu
2021-Sep-06 18:27 UTC
[CentOS] Out of the Office -- Re: Find out which process consumed Network bandwidth
I am currently out of the office, but plan to return to my desk on Tuesday, September 7, 2021 at 7am. If you require assistance with a server that is hosted by VCU Infrastructure Services, please submit a support ticket <https://itsupport.vcu.edu/CherwellPortal>. If this is an emergency, please contact the Network Operations Center at (804) 828-1802. I apologise for any inconvenience. Make it be a great day, *J. Adam Craig* Lead Linux Operating Systems Analyst VCU Infrastructure Services <https://www.ucc.vcu.edu/> Technology Services Department 804.828.4886 jacraig at vcu.edu <https://adminmicro2.questionpro.com/?t_340030260=J.%20Adam%20Craig&u_65977055=351791134> *Don't be a phishing victim -- VCU and other reputable organisations will never use email to request that you reply with your password, social security number or confidential personal information. For more details, visit https://ts.vcu.edu/about-us/information-security/common-questions/what-is-phishing <https://ts.vcu.edu/about-us/information-security/common-questions/what-is-phishing>*
Kenneth Porter
2021-Sep-14 16:07 UTC
[CentOS] Find out which process consumed Network bandwidth
Take a look at Cacti, which is available in the EPEL repo: https://www.cacti.net/ It's not just for network accounting. It polls multiple hosts for all kinds of data and keeps RRD tables for display. Cacti provides a web interface that can display the data in charts. You'll need to install plugins for iptables to do the actual data collection. I've used this to track per-host Internet usage on my LAN by adding an iptables chain with one do-nothing rule per LAN host, just to maintain a counter for Cacti to poll.