Thanks Bob and Ahmet, 

"curl http://localhost:8080/solr1/admin/ping"; works fine :)

Xin



-----Original Message-----
From: Ahmet Arslan [mailto:iori...@yahoo.com] 
Sent: Monday, October 25, 2010 4:03 PM
To: solr-user@lucene.apache.org
Subject: Re: command line to check if Solr is up running

> 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?


What about curl solr/admin/ping?echoParams=none&omitHeader=on



      

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.

Reply via email to