Monitor bitcoind node traffic?


I was wondering how I would go about measuring the traffic being used on my network for the bitcoind node I am running. It's running on the standard 8333 port, using linux as the OS.

I was looking at iftop which seems to be a tool for doing what I want to do, but I am specifically looking to only monitor traffic associated with the bitcoind node.

Basically I'm trying to see if my implementation of a QOS for the node is working properly.

Charles S

Posted 2015-11-03T02:18:44.050

Reputation: 672

This might help you:

– Jimmy Song – 2015-11-03T02:53:16.560

I'm more looking for something that would show me the total bandwidth associated with that port. Like the upload and download speed being used on my network associated with port 8333. Maybe I'm missing it but this just seems to show the connections being made. – Charles S – 2015-11-03T03:04:20.927



The RPC interface has a command getpeerinfo which will give a breakdown of upload and download metrics per connected peer.

    "bytessent": 67619177,  
    "bytesrecv": 47229533,  
    "conntime": 1446238156,  

Totals for the session for all peers are available with getnettotals.

  "totalbytesrecv": 3664310320,
  "totalbytessent": 619085268,
  "timemillis": 1446521403149

vnstatis an external tool which will do system-wide monitoring and statistics collection over extremely long time periods. There is no per process breakdown, but it's a good thing to have around for a global view anyway.

       Oct '15     70.88 GiB  /    2.65 GiB  /   73.53 GiB
       Nov '15     19.61 GiB  /  976.31 MiB  /   20.57 GiB  /  288.12 GiB
     yesterday      9.40 GiB  /  471.48 MiB  /    9.86 GiB
         today      1.13 GiB  /   66.35 MiB  /    1.20 GiB  /    8.49 GiB


Posted 2015-11-03T02:18:44.050

Reputation: 12 846


This is exactly what I was looking for thanks! In-case someone comes here looking for the same info

– Charles S – 2015-11-03T15:13:03.027