<p><code>bitcoin-cli getinfo</code> will show the number of connections.</p>

<p><code>bitcoin-cli getpeerinfo</code> will give information about individual connections.</p>

CC BY-SA 3.0
2015-07-19T14:13:25.237Z
2015-07-19T14:13:25.237Z
Claris
<p>(GUI Method) Open Bitcoin Core and open the debug window. On the "console" tab, type in <code>getconnectioncount</code>.</p>

<p>You can also hover your mouse over the "connections" icon in the bottom right. (Also in the GUI)</p>

CC BY-SA 3.0
2015-07-19T21:12:12.723Z
2015-07-19T21:12:12.723Z
Sabreok
<p>To view active-connections to the Bitcoin Network, simply run <code>bitcoin-cli getconnectioncount</code> to return the count within the terminal-output.</p>

CC BY-SA 4.0
2019-08-28T15:09:08.160Z
2019-08-28T15:09:08.160Z
alexanderjsingleton
<p>How can I see how many active connections there are on <code>Linux</code>?</p>

<bitcoind><ubuntu>
Ubuntu - Show active connections?
Teddy321
# Ubuntu - Show active connections?

(Asked by: username_0 on 2015-07-19)

How can I see how many active connections there are on `Linux`?

**Tags:** bitcoind, ubuntu


---

## 3 answers

### Answer by username_1 on 2015-07-19. Score: 5

`bitcoin-cli getinfo` will show the number of connections.

`bitcoin-cli getpeerinfo` will give information about individual connections.


---

### Answer by username_2 on 2015-07-19. Score: 2

(GUI Method) Open Bitcoin Core and open the debug window. On the "console" tab, type in `getconnectioncount`.

You can also hover your mouse over the "connections" icon in the bottom right. (Also in the GUI)


---

### Answer by username_3 on 2019-08-28. Score: 1

To view active-connections to the Bitcoin Network, simply run `bitcoin-cli getconnectioncount` to return the count within the terminal-output.


---

