Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Check BW usage by port

randomguy55randomguy55 Member
edited May 2012 in General

How can I check the B/W usage of a port.

Aka, port 25565 or 25566 etc

Comments

  • yomeroyomero Member
    edited May 2012

    Maybe.... do an iptables rule kinda....

    iptables -I INPUT -p tcp --dport 25565 -j ACCEPT
    iptables -I OUTPUT -p tcp --sport 25565 -j ACCEPT

    (not sure of the syntax)

    Then you can do an

    iptables -nvL

    and you can watch the counters :P

  • I need to monitor over 200 ports.

  • BluBoyBluBoy Member

    I think iptraf should do what you want as well
    (ncurses based traffic monitor based on port, destination, proto, size etc)

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @bijan588 said: I need to monitor over 200 ports.

    You could use pmacct to likely do it. pmacct uses libpcap to monitor so it won't eat too much CPU assuming you're not ripping a Gbit+ out of it.

    PMACCT supports historical data saving into an SQL table too if you like :)

    Francisco

Sign In or Register to comment.