슬기로운 개발자 생활

[Apache] 서버 관리 (mod_status) - 확장 상태 표시 (ExtendedStatus) 본문

IT 개발/Apache

[Apache] 서버 관리 (mod_status) - 확장 상태 표시 (ExtendedStatus)

개발자 너부리 2019. 12. 21. 23:49
반응형

"server-status" 핸들러를 실행할 때 "ExtendedStatus"에 "On"을 설정하면, 현재 처리하고 있는 URL 및 자원에 대한 정보도 함께 확인할 수 있다.

"httpd-info.conf" 파일에서 "ExtendedStatus"로 검색하면, 다음과 같은 내용을 찾을 수 있을 것이다.

#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#ExtendedStatus On

기본으로 Off라고 설명이 되어 있다. "ExtendedStatus On"의 "#"을 제거하여 확장 상태를 "On"으로 설정하면 상세 접보를 확인 할 수 있게 된다.

그럼 "On"으로 설정하겨 "http://localhost/server-status"에 액세스한다.

화면의 맨 마지막보다 자세한 정보가 표시된 것을 볼 수 있다.

반응형
0 Comments
댓글쓰기 폼