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 ss—a socket tool—in a Bash script on a Debian VPS—script:
#!/bin/bash\nss -t | grep :80 | wc -l > nginx_conn.log
On DigitalOcean run:
./conn.sh
—expect connection count Monitors hosting web traffic

Back to All Tips