Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: Bash

Use iptraf—a traffic tool—in a Bash script on a Rocky Linux VPS—install:
dnf install iptraf-ng
script:
#!/bin/bash\niptraf-ng -i eth0 -L traffic.log -B
On Linode run:
./traffic.sh
—expect logged stats Monitors hosting network

Back to All Tips