Reports whether redis-server is active, its process ID, and recent log lines. Use --no-pager in scripts. The exit code is nonzero when the service is down.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.