Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Over $120 Million in Payouts!
Learn to Day Trade Futures!

Category: Bash

Use ps—a process tool—in a Bash script on a CentOS VPS—script:
#!/bin/bash\nps -C php-fpm -o %mem > php_mem.log
On DigitalOcean run:
./php_mem.sh
—expect memory stats Monitors hosting PHP load

Back to All Tips