Questions tagged [iftop]
12 questions
2
votes
1 answer
How can I have more than 10 entries in the iftop text output?
I want to monitor the network traffic and save the results to a file under Debian Linux. I am using iftop to achieve this.
Following command does the job:
iftop -tnNBP -s 3600 -o destination > output.txt 2>&1
My problem is: if more than 10…
A.V.
- 55
- 6
2
votes
1 answer
How print ip with iftop sorted by bandwidth usage
How I can print the list of IP addresses from iftop output sorted by bandwidth usage?
Riki
- 23
- 4
2
votes
1 answer
Permanent connection to a chinese ip
My Ubuntu server had recently problems with a bruteforce attack.
So I installed fail2ban and I think the problem is gone.
But when I check iftop I see a Chinese IP permanently connecting.
iftop
12.5Kb 25.0Kb 37.5Kb …
user207680
- 21
- 3
1
vote
0 answers
/proc/net/dev is giving wrong traffic info
I have an applet which reads /proc/net/dev and displays network up/download speed. A few days back it started showing weird things. Like, even when I'm not on the internet, the download speed stays around 52-54 kbps, while normally it tends to stay…
saga
- 1,381
- 11
- 36
1
vote
2 answers
How can I scroll down in iftop?
I installed iftop on my Linux Mint Rafaela Cinnamon. It frustrates me how iftop does not give an option to scroll down to see more network activity, limiting me to very little activity to be able to view. How can I see the rest of the network…
Rohan
- 3,491
- 9
- 28
- 45
1
vote
1 answer
iftop, outgoing https to Amazon
When I run iftop -P to see what is coming to/from my interface, I constantly see connections to Amazon, HTTPS protocol:
=> ec2-176-34-135-167.eu-west-1.compute.amazonaws.com:https
<=
=> ec2-52-22-162-249.compute-1.amazonaws.com:https
<=
...
Those…
Kamil
- 1,311
- 2
- 14
- 31
1
vote
2 answers
Using awk and grep for iftop results
I wanted to monitor my server network send and receive rate using iftop. This is what works for me:
iftop -t -s 1 -n -N | grep 'Total send and receive rate: ' | awk '{print $8}'
Mac address and Ips are included in the result, something like…
Amin
- 151
- 1
- 2
- 9
1
vote
0 answers
How can I monitor iptables classification applied by OpenWRT QoS, preferably live?
I set up a bunch of quality of service rules in OpenWRT, which then are translated to iptables rules. For debugging purposes, I'd love to see how the different connections are binned into, which would be very helpful at understanding my traffic and…
Jens Erat
- 2,233
- 2
- 21
- 33
0
votes
1 answer
Capture bandwidth usage from remote machine across time
I would like to capture the bandwidth usage to and from one specific remote machine across time on my system. iftop command is definitely one option, which gives the network usage, and has filtering , but I need to parse the text output to get the…
Akheel K M
- 11
- 1
0
votes
1 answer
iftop and traffic on blocked port
I'm analyzing the network traffic with iftop an I'm puzzled by this output:
188.25.15.139:11596 => 104.31.112.90:8880 130KB 32KB 19KB
<= 162KB 51KB 30KB
My ip is…
Adrian
- 659
- 1
- 7
- 29
0
votes
3 answers
Awk Command - combine two commands
Slowly muddling my way through learning how to manipulate variables for a bash script I'm writing. I'm trying to use AWK (tried Grep but not granular enough I don't think) to pull the source and dest from iftop.
The base iftop command I'm using…
Matthew Hodder
- 3
- 5
0
votes
1 answer
monitor the network traffic into a specific directory
I'm aware that iftop monitors the network traffic on the current host, but is there a program that monitors the network traffic to a specified directory on the filesystem?
category
- 285
- 1
- 3
- 9