zoukankan      html  css  js  c++  java
  • SystemInformationRequestHandlers

    SystemInformationRequestHandlers - Solr Wiki

    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:cygwinhomeworkopensolr-1.4
    elease-1.4.1example
    olr</str>
      <str name="data">C:cygwinhomeworkopensolr-1.4
    elease-1.4.1example.so
    rdata</str>
      <str name="index">C:cygwinhomeworkopensolr-1.4
    elease-1.4.1examplesol
    dataindex</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 FilesJavajdk1.6.0_14jrelib
    esources
    jar;C:Program FilesJavajdk1.6.0_14jrelib
    t.jar;C:Program FilesJavajdk1
    6.0_14jrelibsunrsasign.jar;C:Program FilesJavajdk1.6.0_14jrelibjsse.ja
    ;C:Program FilesJavajdk1.6.0_14jrelibjce.jar;C:Program FilesJavajdk1.6
    0_14jrelibcharsets.jar;C:Program FilesJavajdk1.6.0_14jreclasses</str>
      <str name="classpath">C:cygwinhomeworkopensolr-1.4
    elease-1.4.1example
    C:cygwinhomeworkopensolr-1.4
    elease-1.4.1examplelibjetty-6.1.3.jar;C:
    ygwinhomeworkopensolr-1.4
    elease-1.4.1examplelibjetty-util-6.1.3.jar;C:
    cygwinhomeworkopensolr-1.4
    elease-1.4.1examplelibservlet-api-2.5-6.1.3.
    ar;C:cygwinhomeworkopensolr-1.4
    elease-1.4.1examplelibjsp-2.1ant-1.6.
    .jar;C:cygwinhomeworkopensolr-1.4
    elease-1.4.1examplelibjsp-2.1core-3
    1.1.jar;C:cygwinhomeworkopensolr-1.4
    elease-1.4.1examplelibjsp-2.1jsp
    2.1.jar;C:cygwinhomeworkopensolr-1.4
    elease-1.4.1examplelibjsp-2.1jsp
    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)

     
  • 相关阅读:
    C++中的new、operator new与placement new
    Eigen教程(11)
    Eigen教程(10)
    Eigen教程(9)
    Eigen教程(8)
    Eigen教程(5)
    Eigen教程(4)
    Eigen教程(3)
    makefile:n: *** missing separator. Stop
    jenkins X实践系列(3) —— jenkins X 安装拾遗
  • 原文地址:https://www.cnblogs.com/blogsme/p/3491221.html
Copyright © 2011-2022 走看看