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

SystemInformationRequestHandlers的更多相关文章

随机推荐

  1. General mistakes in parallel computing

    这是2013年写的一篇旧文,放在gegahost.net上面  http://raison.gegahost.net/?p=97 March 11, 2013 General mistakes in ...

  2. ssh 非root用户互信

    之所以要把这个记录下来 是因为它的确和root用户不一样root用户 不需要改动什么权限问题  只要生成私钥/公钥对 即可 但是一样的操作在普通用户上就出了问题了 折腾了老半天 ssh-keygen ...

  3. Dreamoon and MRT

    Dreamoon and MRT 题目链接: http://codeforces.com/group/gRkn7bDfsN/contest/212299/problem/B 只需要考虑相对位置,设a0 ...

  4. \p{space}|\p{Hex}|\p{Digit}|转译符|\1|\g{-1}|[^ab]|/([^\d\D]+)/

    小骆驼 第七章 漫游正则表达式王国 #!/usr/bin/perl use strict; use warnings; $_ = 'ab \ cde f ghijk10.x12ln'; if(/d/) ...

  5. springmvc @RequestParam @RequestBody @PathVariable 等参数绑定注解详解

    简介: handler method 参数绑定常用的注解,我们根据他们处理的Request的不同内容部分分为四类:(主要讲解常用类型) A.处理requet uri 部分(这里指uri templat ...

  6. 解决Spellchecker inspection helps locate typos and misspelling in your code

    idea出现这个是因为词库中没有这个单词,所以提示拼写错误 解决办法:双击下面有虚线的单词——>鼠标右键——>spelling——>save 'xxx' to distionary

  7. webpack 之 loader

    loader简介 loader在webpack.config.js中进行配置,配置之后,会自动检测打包过程中引入的文件(import或require),通过test成功匹配被引入的文件名后,会对文件内 ...

  8. JavaScript基础对象---Map

    一.创建Map对象 Map 对象保存键值对.任何值(对象或者原始值) 都可以作为一个键或一个值 1.构造函数 语法:new Map([iterable])参数:         iterable  可 ...

  9. 条款27:尽量少做转型动作(Minimize casting)

    NOTE : 1.如果可以,尽量避免转型,特别是在注重效率的代码中避免dynamic_casts. 如果有个设计需要转型动作,试着发展无需转型的替代设计. 2.如果转型是必须要的,试着将它隐藏于某个函 ...

  10. perl学习之:use & require

    相同: 都可以用来引用module(.PM). 不同: 1) 区别在于USE是在当前默认的@INC里面去寻找,一旦模块不在@INC中的话,用USE是不可以引入的,但是require可以指定路径: 2) ...