SystemInformationRequestHandlers - Solr Wiki

Search:

SystemInformationRequestHandlers


  • Immutable Page
  • Comments
  • Info
  • Attachments
  • More Actions:
    Raw Text
    Print View
    Render as Docbook
    Delete Cache
    ------------------------
    Check Spelling
    Like Pages
    Local Site Map
    ------------------------
    Rename Page
    Copy Page
    Delete Page
    ------------------------
    My Pages
    Subscribe User
    ------------------------
    Remove Spam
    Revert to this revision
    Package Pages
    Sync Pages
    ------------------------
    Load
    Save
    SlideShow

There are a few requestHandlers that fetch various bits of information about the Solr instance, and a given core.

LukeRequestHandler

See LukeRequestHandler.

SystemInfoHandler

Solr1.4

The SystemInfoHandler returns a snapshot of the operating environment of a given Solr instance: basic data, Solr & Lucene version data, Java VM information, JMX accessibility, and operation system. As of this writing, the servlet engine or embedded Solr status is not gathered.

Parameters

None.

Example Output

http://localhost:8983/solr/admin/system?indent=on

<lst name="core">
<str name="schema">example</str>
<str name="host">norskhaus</str>
<date name="now">2010-07-06T05:49:12.405Z</date>
<date name="start">2010-07-06T05:48:55.527Z</date>
<lst name="directory">
<str name="instance">C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\
olr</str>
<str name="data">C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\.\so
r\data</str>
<str name="index">C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\sol
\data\index</str>
</lst>
</lst>
<lst name="lucene">
<str name="solr-spec-version">1.4.1.2010.07.01.16.02.55</str>
<str name="solr-impl-version">1.4.2-dev 959792M - work - 2010-07-01 16:02:55</
tr>
<str name="lucene-spec-version">2.9.3</str>
<str name="lucene-impl-version">2.9.3 951790 - 2010-06-06 01:30:55</str>
</lst>
<lst name="jvm">
<str name="version">14.0-b16</str>
<str name="name">Java HotSpot(TM) 64-Bit Server VM</str>
<int name="processors">2</int>
<lst name="memory">
<str name="free">88.1 MB</str>
<str name="total">109.4 MB</str>
<str name="max">910.2 MB</str>
<str name="used">21.3 MB (%2.3)</str>
</lst>
<lst name="jmx">
<str name="bootclasspath">C:\Program Files\Java\jdk1.6.0_14\jre\lib\resources
jar;C:\Program Files\Java\jdk1.6.0_14\jre\lib\rt.jar;C:\Program Files\Java\jdk1
6.0_14\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_14\jre\lib\jsse.ja
;C:\Program Files\Java\jdk1.6.0_14\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6
0_14\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_14\jre\classes</str>
<str name="classpath">C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example
C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jetty-6.1.3.jar;C:\
ygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jetty-util-6.1.3.jar;C:
cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\servlet-api-2.5-6.1.3.
ar;C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jsp-2.1\ant-1.6.
.jar;C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jsp-2.1\core-3
1.1.jar;C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jsp-2.1\jsp
2.1.jar;C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jsp-2.1\jsp
api-2.1.jar</str>
<arr name="commandLineArgs"/>
<date name="startTime">2010-07-06T05:48:53.405Z</date>
<long name="upTimeMS">19001</long>
</lst>
</lst>
<lst name="system">
<str name="name">Windows Vista</str>
<str name="version">6.0</str>
<str name="arch">amd64</str>
<double name="systemLoadAverage">-1.0</double>
</lst>
</response>

SolrInfoMBeanHandler

Solr3.1 This handler returns a full inventory of the SolrMBean objects in the instance. These include most of the heavyweight objects in Solr. It is generally a replacement for admin/stats.jsp, and makes rolling your own monitoring of Solr without using JMX much simpler.

Example URLs

Assuming you have this handler mapped to "/admin/mbeans" in solrconfig.xml and are running the example on port localhost:8983, visit:

ThreadDumpHandler

Gives a list of all of the threads in the Java VM. Equivalent to the Java thread dump feature.

SystemInformationRequestHandlers (last edited 2011-09-21 18:51:54 by EricPugh)

 
  • Immutable Page
  • Comments
  • Info
  • Attachments
  • More Actions:
    Raw Text
    Print View
    Render as Docbook
    Delete Cache
    ------------------------
    Check Spelling
    Like Pages
    Local Site Map
    ------------------------
    Rename Page
    Copy Page
    Delete Page
    ------------------------
    My Pages
    Subscribe User
    ------------------------
    Remove Spam
    Revert to this revision
    Package Pages
    Sync Pages
    ------------------------
    Load
    Save
    SlideShow

最新文章

  1. android http 抓包
  2. DECLARE_GLOBAL_DATA_PTR宏定义问题
  3. oracle基础知识
  4. ORACLE 學習筆記
  5. switch… case 语句的用法(一)
  6. 第一个PHP程序
  7. 文件I/O操作(2)
  8. 几种破解MySQL root密码的几种方法:
  9. ionic框架,快速开发webAPP神器。
  10. Gridlayout动态添加
  11. JPA 系列教程2-单表操作
  12. 《数据结构与算法分析:C语言描述》读书笔记------练习1.1 求第K大的数
  13. Linux指令--rcp,scp
  14. 【官网翻译】性能篇(四)为电池寿命做优化——使用Battery Historian分析电源使用情况
  15. 使用flask_socketio实现服务端向客户端定时推送
  16. pyqt5 Button.click 报错:argument 1 has unexpected type &#39;NoneType&#39;
  17. QThreadPool线程池的开发使用
  18. Processing an OS Descriptor request -- Remote Desktop Protocol
  19. AndroidのUI布局之layout weight
  20. 在swift工程调用第三方库,Bridging导入头文件提示not found解决办法

热门文章

  1. 在git远程仓创建项目之后,提交本地项目的使用方法
  2. Android Learning Note -- AsyncTask浅尝
  3. jQuery ajax参数后台获取不到的问题
  4. codevs 2905 足球晋级
  5. SQLite概述
  6. (转)在编写Spring框架的配置文件时,标签无提示符的解决办法
  7. tree 树状构建
  8. 查看python关键字
  9. django 模板中{%for%}的使用
  10. selective_search_rcnn.m中代码