systemctl status apache2

Category: Web Servers & Proxies

systemctl status apache2

Show Apache service status and recent log lines

Displays whether the apache2 service is active, its main process ID, memory use, and the newest journal entries. The first line tells you if the service failed to start after a config change. Add --no-pager for script-friendly output.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.