Checking subnet /24

Hello,
Incoming traffiv on one of my node become half of the normal. I have seen command which can check quantity of nodes under one subnet, but can’t find with search. Could you help with link?

Regards,
Alexander

It’s not a command as such.
You can go to this link at StorjNet, input your IP address and it should tell you how many nodes are running on that /24 :slight_smile:

2 Likes

You can also pull it from the StorjNet API if you want it on the CLI. Like substitute your IP onto the end of something like this:

wget -q --output-document - https://storjnet.info/api/neighbors/85.143.219.169

…and you should get a chunk of JSON with your peer count: similar to this:

{“ok”:true,“result”:{“count”:42}}

1 Like

I stand humbly corrected :wink:

1 Like

If you have jq installed, just pipe the result into it.

wget -q --output-document - https://storjnet.info/api/neighbors/85.143.219.169 | jq -r .result.count
3 Likes

Thanks to everybody! I did

1 Like