User Tools

Site Tools


network_transmit_recieve

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
network_transmit_recieve [2015/10/20 09:57] – created luke7858network_transmit_recieve [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 5: Line 5:
 <sxh bash>sar -n DEV</sxh> <sxh bash>sar -n DEV</sxh>
 This will show you the history of networking. This will show you the history of networking.
 +<sxh bash>
 +sar -n DEV -s `date -d '-3 hour' +%T` |awk '{if ($3 == "IFACE" || $3 == "eth0" || $2 == "eth0") {print}}'
 +</sxh>
 \\ \\
 You can then use the following tools to get an understanding of which service is using the most networking traffic and what IP address it is coming from or going to: You can then use the following tools to get an understanding of which service is using the most networking traffic and what IP address it is coming from or going to:
Line 13: Line 16:
 <sxh bash> <sxh bash>
 nethogs nethogs
 +</sxh>
 Currently trying to figure out how to copy and paste from it Currently trying to figure out how to copy and paste from it
  
  
network_transmit_recieve.1445335065.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki