Plack :: ¹Ìµé¿þ¾î :: ServerStatus :: Lite.

ApacheÀÇ mod_status¿Í °°Àº ¼­¹ö »óÅ ǥ½Ã
Áö±Ý ´Ù¿î·Îµå

Plack :: ¹Ìµé¿þ¾î :: ServerStatus :: Lite. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Masahiro Nagano
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~kazeburo/

Plack :: ¹Ìµé¿þ¾î :: ServerStatus :: Lite. ű×


Plack :: ¹Ìµé¿þ¾î :: ServerStatus :: Lite. ¼³¸í

Plack :: Middleware :: ServerStatus :: Lite´Â Starman ¹× Starlet°ú °°Àº ´ÙÁß ÇÁ·Î¼¼½º Plack ¼­¹ö¿¡¼­ ¼­¹ö »óŸ¦ Ç¥½ÃÇÏ´Â Perl ¹Ìµé¿þ¾îÀÔ´Ï´Ù. ÀÌ ¹Ìµé¿þ¾î´Â ÀÀ¿ë ÇÁ·Î±×·¥À» ½ÇÇàÇϱâ Àü°ú ÈÄ¿¡ ¸¸ »óŸ¦ º¯°æÇÕ´Ï´Ù. µû¶ó¼­ Keepalive ¼¼¼Ç ¹× ³×Æ®¿öÅ© I / O ´ë±â¸¦ ¸ð´ÏÅ͸µ ÇÒ ¼ö ¾ø½À´Ï´Ù. Synopsis Plack :: Builder¸¦ »ç¿ëÇϽʽÿÀ. ºô´õ {plack :: lite :: serverStatus :: Lite ", Path => '/ server-status', Çã¿ë => , COUNTER_FILE => '/ TMP / COUNTER_FILE ', SCOREBOARD =>'/ var / run / server '; $ ¾Û; }; % curl http : // server : Æ÷Æ® / ¼­¹ö - »óÅ °¡µ¿ ½Ã°£ : 1234567789 ÃÑ ¾×¼¼½º : 123 Busyworkers : 2 Idleworkers : 3 - PID »óÅ Remote_Addr È£½ºÆ® ¹æ¹ý URI ÇÁ·ÎÅäÄÝ SS 20060 A 127.0.0.1 ·ÎÄà ȣ½ºÆ® : 10001 GET / HTTP / 1.11 20061. 20062 A 127.0.0.1 localhost : 10001 GET / SERVER-status HTTP / 1.10 20063. 20064. # JSON Çü½Ä % curl http : // server : Æ÷Æ® / ¼­¹ö - »óÅÂ? JSON { "°¡µ¿ ½Ã°£": "¹Ù»Û ÀÏ·Î": "busyworkers": "2", "stats": , "Idleworkers": "3"} Á¦Ç° ȨÆäÀÌÁö


Plack :: ¹Ìµé¿þ¾î :: ServerStatus :: Lite. °ü·Ã ¼ÒÇÁÆ®¿þ¾î