Tag: network

Kernel dropped packet analysis

Found a simple method to check for all the packets dropped by kernel.

First you need to install dropwatch with

dnf install dropwatch

and details of the package

Name        : dropwatch
Arch        : x86_64
Epoch       : 0
Version     : 1.4
Release     : 13.fc24
Size        : 27 k
Repo        : fedora
Summary     : Kernel dropped packet monitor
URL         : http://fedorahosted.org/dropwatch
License     : GPLv2+
Description : dropwatch is an utility to interface to the kernel to monitor for dropped
: network packets.

 

Once that is done, you will see the kernel address. How do you map those to kernel functions, refer Get kernel function name from kernel address.

Find who is using my network – top for network utilization

Ok here is something that I have been looking for something.  Now that I have conky installed, so I can see the bandwidth usage on my desktop but was wondering for sometimes, where actually so much is being used. So did some quick search to see if I can get that info and did not have to go too far 🙂

There is s  utility called iftop in the Fedora repo and at the URL. Oh and how to use it, just type sudo iftop or if you have multiple network interface then you can do \”iftop -f <device name>\”. Thats pretty simple and cool.

Name       : iftop
Arch       : i386
Version    : 0.17
Release    : 7.fc9
Size       : 71 k
Repo       : installed
Summary    : Command line tool that displays bandwidth usage on an interface
URL        : http://www.ex-parrot.com/~pdw/iftop/
License    : GPLv2+
Description: iftop does for network usage what top(1) does for CPU usage. It
: listens to network traffic on a named interface and displays a
: table of current bandwidth usage by pairs of hosts. Handy for
: answering the question \”why is our ADSL link so slow?\”.

For those of you, fond of pictures, here\’s a screenshot:

\"iftop\"