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 vnstat—a traffic monitor—in a Bash script on an Ubuntu VPS—install:
apt install vnstat
script:
#!/bin/bash\nvnstat -m > bandwidth.log
On Vultr run:
./band.sh
—expect usage Tracks hosting network

Back to All Tips