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