월간 인기 게시물

게시물 1,377건
   
Haproxy 모니터링 Commnad
글쓴이 : 최고관리자 날짜 : 2015-08-10 (월) 13:27 조회 : 5951
글주소 :
                                

  clear counters : clear max statistics counters (add 'all' for all counters)
  help           : this message
  prompt         : toggle interactive mode with prompt
  quit           : disconnect
  show info      : report information about the running process
  show stat      : report counters for each proxy and server
  show errors    : report last request and response errors for each proxy
  show sess [id] : report the list of current sessions or dump this session
  get weight     : report a server's current weight
  set weight     : change a server's weight
  set timeout    : change a timeout setting
  disable server : set a server in maintenance mode
  enable server  : re-enable a server that was previously in maintenance mode


방법1)
※ echo "show stat" | socat unix-connect:${SOCK_FILENAME} stdio
# echo "show stat" | socat unix-connect:sock stdio


방법2)
# echo "show info;show stat" | nc -U /var/run/haproxy.sock


방법3)
# apt-get install hatop
# hatop -i 3 -s /var/run/haproxy.sock



이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.