you could look at the ping stuff:
http://wiki.apache.org/solr/SolrConfigXml#The_Admin.2BAC8-GUI_Section
cheers,
rob
On Mon, Oct 25, 2010 at 3:56 PM, Xin Li <[email protected]> wrote:
> As we know we can use browser to check if Solr is running by going to
> http://$hostName:$portNumber/$masterName/admin, say
> http://localhost:8080/solr1/admin. My questions is: are there any ways to
> check it using command line? I used "curl http://localhost:8080" to check my
> Tomcat, it worked fine. However, no response if I try "curl
> http://localhost:8080/solr1/admin" (even when my Solr is running). Does
> anyone know any command line alternatives?
>
> Thanks,
> Xin
> This electronic mail message contains information that (a) is or
> may be CONFIDENTIAL, PROPRIETARY IN NATURE, OR OTHERWISE
> PROTECTED
> BY LAW FROM DISCLOSURE, and (b) is intended only for the use of
> the addressee(s) named herein. If you are not an intended
> recipient, please contact the sender immediately and take the
> steps necessary to delete the message completely from your
> computer system.
>
> Not Intended as a Substitute for a Writing: Notwithstanding the
> Uniform Electronic Transaction Act or any other law of similar
> effect, absent an express statement to the contrary, this e-mail
> message, its contents, and any attachments hereto are not
> intended
> to represent an offer or acceptance to enter into a contract and
> are not otherwise intended to bind this sender,
> barnesandnoble.com
> llc, barnesandnoble.com inc. or any other person or entity.
>