CLI - 웹 서버 상태 확인

Kang (토론 | 기여)님의 2020년 12월 16일 (수) 10:28 판

시스템의 웹 서버 상태는 CLI에서 show apache2 명령어를 통해 확인할 수 있습니다.

LYSH@MyHostName# show apache2
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: active (running) since Mon 2020-12-14 14:14:01 KST; 1 day 3h ago
  Process: 57092 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/SUCCESS)
 Main PID: 59179 (apache2)
    Tasks: 13 (limit: 4645)
   CGroup: /system.slice/apache2.service
           ├─ 2639 /usr/sbin/apache2 -k start
           ├─ 2656 /usr/sbin/apache2 -k start
           ├─31210 /usr/sbin/apache2 -k start
           ├─53732 /usr/sbin/apache2 -k start
           ├─53733 /usr/sbin/apache2 -k start
           ├─53735 /usr/sbin/apache2 -k start
           ├─58251 /usr/sbin/apache2 -k start
           ├─58738 /usr/sbin/apache2 -k start
           ├─59179 /usr/sbin/apache2 -k start
           ├─64531 /usr/sbin/apache2 -k start
           ├─64755 /usr/sbin/apache2 -k start
           └─64756 /usr/sbin/apache2 -k start