I am using Ubuntu.
I need to count the number of packet received in a specific interface. I found this can be done using netstat. However, I need to count starting from t=zero until a specific time I want (t=...) and the counter shall be start from zero
This can be done if everytime I restart the computer so the counter starts from zero, but I just want to know if there is any other solution to capture how many packets on a specific interface within a certain time I want.