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 iftop—a traffic tool—in a Bash script on a Rocky Linux VPS—install:
dnf install iftop
script:
#!/bin/bash\niftop -t -s 10 > traffic.log
On DigitalOcean run:
./traffic.sh
—expect bandwidth stats Monitors hosting network

Back to All Tips