Network

TwitterFacebook
Get flash to fully experience Pearltrees
ifstat is a tool to report network interfaces bandwith just like vmstat/iostat do for other system counters. ifstat gathers these statistics from the kernel internal counters, which is highly operating system dependent. Right now, the following systems are supported: Linux >= 2.2.0 (through /proc/net/dev file). FreeBSD >= 2.2 (using the ifmib(4) interface). Solaris >= 5.6 (using the kstat(3K) interface). http://gael.roualland.free.fr/ifstat/

Ifstat

netstat command and shell pipe feature can be used to dig out more information about particular IP address connection. You can find out total established connections, closing connection, SYN and FIN bits and much more. You can also display summary statistics for each protocol using netstat. http://www.cyberciti.biz/tips/netstat-command-tutorial-examples.html

netstat -atp

To count remote connections by host:

netstat -at | awk '{print $5}' | awk -F : '{print $1}' | sort -r | uniq -c by nicolas Feb 19

Q. How do I track my network usage (network usage monitoring) and protocol wise distribution of traffic under Debian Linux? How do I get a complete picture of network activity? http://www.cyberciti.biz/faq/debian-ubuntu-install-ntop-network-traffic-monitoring-software/

ntop

http://linux.die.net/man/1/dig

dig

Name dig - DNS lookup utility Synopsis

Pour la résolution depuis google: dig www.pearltrees.com @8.8.8.8 | grep "Query time:" by nicolas Apr 22

ex: dig @194.146.224.102 www.perdu.com | grep "Query time:" by nicolas Nov 19