Use IFTOP to display hosts’ bandwidth usage on the network
If the top command shows the processes currently taking the most CPU time and memory, iftop displays network usage by connection making your hosts’ bandwidth moitoring usage easier. Iftop displays a table of hosts and their bandwidth usage for the past 2, 10 and 40 seconds. Identifying which hosts are causing network congestion is easy using iftop since it displays the pair of hosts responsible for most of the bandwidth on the top of the table.
iftop overview:
- iftop (interface top) derives the name from the standard unix top command. top command displays real-time CPU Usage. iftop command displays real-time network bandwidth usage.
- iftop displays the network usage of a specific interface on the host.
- Using iftop you can identify which host is responsible for slowing down your network.
- To find out which process is causing the problem, note down the port number from the iftop and use netstat -p to identify the process.
- iftop monitors your network activity, and displays a table of current bandwidth.
Download iftop
# cd /root # wget http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz
Install iftop
# cd /root # tar -xzvf iftop-0.17.tar.gz # cd iftop-0.17 # ./configure # make # make install
Use iftop
#iftop
iftop commands
S - display source port D - display destination port n - show IP instead of host name 1/2/3 - sort by the specified column < - sort by source name > - sort by dest name P - pause display j/k - scroll display ? - for help
Popularity: 1% [?]
There are numbers of socket options in smb.conf that can be tuned to enhance/optimize the performance of a Samba server. Socket options are configurable controls on the networking layer of an operating systems that allow the connection to be tuned.
One of my staff asked me on how to upload a 345MB SQL dump file he extracted from one of our DB servers to another server. He told me that he is having a problem doing this task using PhpMyAdmin because of the 2MB limitation found PhpMyAdmin’s import screen.
The pagefile.sys file is the Virtual Memory file used by your Windows computer. If you have limited RAM, your windows machine to run programs and store data. It swaps out some of the RAM data to the page file and then reuses the freed up RAM.