Questions tagged [iftop]
10 questions
7
votes
5 answers
Why does iftop show 'b' characters instead of lines?
I am connecting to my Raspberry Pi 4 over SSH. Although I see iftop on all captures as having a nice frame, mine shows 'b' characters instead of lines. The curious thing is, the corner pieces and all other output is shown nicely. Is this something…
Dalofeco
- 73
3
votes
1 answer
iftop - how to select a wireless USB device
I want to monitor my internet traffic, thinking of switching ISPs. I want to monitor and log my traffic. iftop looks like a good option, correct me if I'm wrong.
The problem is that my machine is using a USB wireless card. iftop will default to…
Alan B. Dee
- 167
1
vote
1 answer
Unable to find which process occupy the port
I'm running a web server on my machine(ubuntu 16.04).I use iftop to see there is traffic on port 31354.
However, when I use lsof -i:31354 to see which process uses this port,I can't see any results, netstat -tunlp also.
I checked my code and found…
方文豪
- 11
1
vote
0 answers
Linux PC is generating traffic not picked up by `iftop` etc
Our internet is getting shaped, so excess traffic is affecting us far more than normal. I've narrowed down the source of traffic to my own PC, which is a freshly installed Xubuntu 16.10 machine. My router measures around 128 KB/s incoming with the…
Jarrad
- 151
0
votes
1 answer
How can I get the Full URL's being accessed over TCP, on OSX (or linux)
Is there a way that I can have iftop (or some other command) run on my mac (linux also is okay) which will display the exact
http requests which are being made, including
the parameters being sent
Currently, iftop gives me results like this:
And…
jayunit100
- 641
0
votes
1 answer
Linux iftop has lots of confusing entries appearing
I have installed iftop version 1.0 on my Fedora 17 box and I ran it. I am getting a lot of strange rows appearing when the computer is completely idle after boot with no programs running. I am concerned that my linux box has malware on it that is…
Eric Leschinski
- 7,393
- 7
- 51
- 51
0
votes
1 answer
Why is iftop using so much memory? Are there any tools that are powerful, but do not use so much memory?
pmap iftop_id
b7fce000 4K rw--- /lib/ld-2.5.so
bf9aa000 84K rw--- [ stack ]
total 204940K
The memory of the server is only 1GB, but iftop takes 204MB. It is crazy that iftop uses so much memory - why? Are there any tools that…
hugemeow
- 2,329
0
votes
1 answer
How to limit text output of iftop?
How to tell the tool iftop to print once a snapshot of active connections without cycling while in text mode?
iftop -t -i eth2
J. Doe
- 481
0
votes
1 answer
Why doesn't `iftop -s` generate output on the fly?
I tried to make iftop execute for 80000 seconds and output to a file:
sudo iftop -i wlan0 -s 80000 -t > "$file"
However all I can find in the file is
Listening on wlan0
without the actual output. When I remove the -s 80000, then it works fine.
Why…
Adam
- 1
-1
votes
1 answer
How to check if there is data exchange with a particular host with a script
I have a video streaming server that streams video to many TVs.
I need to monitor the TV's remotely, so I need a tool that monitors the server network interface and say sends and email when TV A does not download D megabytes of data from the server…
Edik Mkoyan
- 416