9:41
4/5 snippets · Free Upgrade →

Docker status

Check running containers

docker ps --format "table {{.Names}}\t{{.Status}}"

Nginx logs

Last 50 lines of nginx service

journalctl -u nginx -n 50 --no-pager

Disk & memory

Check disk space and RAM

df -h && free -m

Git pull deploy

Pull & restart PM2

cd /var/www/app && git pull && pm2 restart all

System uptime

Check server uptime

uptime -p