how to display the actual network traffic (wireless) in a terminal?
Additionally: Is it possible to add this info to the chart of top?
|
how to display the actual network traffic (wireless) in a terminal? Additionally: Is it possible to add this info to the chart of |
|||
|
|
|
Some other nice tools in the Ubuntu repositories for command line bandwidth monitoring: bmon - shows multiple interfaces at once
slurm - has nice colored graphs
tcptrack - A favorite. Tells how much bandwidth is being used and also what protocol (service/port) and destination the transmission is taking place to. Very helpful when you want to know exactly what is using up your bandwidth
|
||||
|
|
|
Install ’vnstat’ it can show traffic for an interface. You can install some plotting packages to get some nice graphs. |
|||
|
|
|
It's quite easy! install "iftop" with:
Then run
from any terminal! Enjoy! |
|||
|
|
That will give you a streaming information of all the data flowing from that interface (your ethernet card). Similar to wireshark. Use |
|||
|
|
|
I think
gevorg@gevorg-TravelMate-3260:~$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:18:de:89:52:71
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
gevorg@gevorg-TravelMate-3260:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:16:36:bf:92:e3
inet addr:192.168.10.100 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::216:36ff:febf:92e3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:342765 errors:0 dropped:0 overruns:0 frame:0
TX packets:306183 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:373934806 (373.9 MB) TX bytes:39111569 (39.1 MB)
Interrupt:16
It shows RX bytes:73934806 (373.9 MB) and TX bytes:39111569 (39.1 MB). |
|||||||
|