title: netstat for number of packets received by process IDs
body: <p>I use the simple netstat command "netstat -nltp" which shows me all active TCP connections along with the PID and process name.
  However even after playing around with parameters, I am unabe to get an important information from the command.</p>
  
  <p>That is:</p>
  
  <p>I want to see the number of packets received and sent from/to this PID
  I learnt that Recv-Q and Send-Q are not indicative of this. Also, the statistics parameter seems to sum up for all processes. How can I see the packets received and sent to a PID?</p>
  
  <p>Thanks</p>