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. http://www.360doc.com/content/10/0928/12/11991_57014502.shtml

    http://www.360doc.com/content/10/0928/12/11991_57014502.shtml

  2. redis集群架构(含面试题解析)

    老规矩,我还是以循序渐进的方式来讲,我一共经历过三套集群架构的演进! Replication+Sentinel 这套架构使用的是社区版本推出的原生高可用解决方案,其架构图如下! 这里Sentinel的 ...

  3. PMP项目管理学习笔记(6)——整合管理之制订项目管理计划

    制订项目管理计划 输入:项目章程.组织过程资产.企业环境要素.计划过程的输出(): 工具:专家判断 输出:项目管理计划 项目管理计划使你在问题发生之前做出规划 你要在计划过程组中明确如何完成项目——因 ...

  4. Django的架构

    简介 Django继承并简化了MVC架构.MVC中的Controller部分基本全由Django完成.View部分被分割成两部分,即:负责HTML渲染的模板和负责显示逻辑的视图.所以Django又被称 ...

  5. vue iview render里面 没有双向绑定 renderHeader 要序列化 反序列 一下

    vue iview render里面 没有双向绑定 renderHeader 要序列化 反序列 一下 renderHeader: (h, params) => { return [ h('Rad ...

  6. N皇后递归

    问题: n皇后问题:输入整数n, 要求n个国际象棋的皇后,摆在 n*n的棋盘上,互相不能攻击,输出全部方案. #include <iostream> using namespace std ...

  7. 用python的Requests库模拟http请求

    一.先了解几个重要的http请求头或响应头信息 Request Headers: Host: 描述请求将被发送的目的地,包括,且仅仅包括域名和端口号. Origin: 说明请求从哪里发起的,包括,且仅 ...

  8. html/css:简单网页

    html: <!DOCTYPE html> <html> <head> <meta http-equiv=“content-type” content=“te ...

  9. MySQL 优化 之 Copying to tmp table on disk

    项目中遇到了慢查询问题 Sql语句 SELECT sum(price) AS price, `member_id` FROM `crm_upload` GROUP BY member_id ORDER ...

  10. ARM Linux 3.x的设备树(Device Tree)(转)

    http://blog.csdn.net/21cnbao/article/details/8457546