apache jk监控--jkstatus

先在配置文件中加入配置内容:
workers.properties 配置文件中加入 下面两行
worker.list = status
worker.status.type=status

在http.conf中
<IfModule jk_module>
  JkWorkersFile conf/workers.properties
  JkShmFile  /data/logs/apache2/mod_jk.shm
  # JkMountFile  conf/uriworkermap.properties
  JkLogFile  /data/logs/apache2/mod_jk.log
  JkLogLevel warn
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
  # JkMount  /sas*  worker1
  JkMount  /aps*  worker1
  JkMount  /nds*  worker1
  JkMount /jkstatus status  

</IfModule>

ps:蓝色字体是配置jk时候弄的 ,对jkstatus起作用的是黑色字体部分,全部配置完,reboot apache

在浏览器输入http://ip/jkstatus ---->

apache jk监控--jkstatus

转载于:https://my.oschina.net/hyp3/blog/125322