You can  do `ps -ef | grep java | grep 'start.jar'`   

--  
Yago Riveiro
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Tuesday, October 22, 2013 at 5:52 PM, Raheel Hasan wrote:

> ok. I thought there must be a way to restart solr..
>  
> Because, once the process is running (i.e. start.jar), I dont know where to
> find it. pgrep doesnt return start.jar but java as a whole.
>  
> So how to know the exact process number of start.jar?
>  
> Thanks..
>  
>  
>  
> On Tue, Oct 22, 2013 at 9:50 PM, Yago Riveiro <yago.rive...@gmail.com 
> (mailto:yago.rive...@gmail.com)>wrote:
>  
> > If you are asking about if solr has a way to restart himself, I think that
> > the answer is no.
> >  
> > If you lost control of the remote machine someone will need to go and
> > restart the machine ...
> >  
> > You can try use a kvm or other remote control system
> >  
> > --
> > Yago Riveiro
> > Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> >  
> >  
> > On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte wrote:
> >  
> > > If you are on linux/unix, use the kill command.
> > >  
> > > François
> > >  
> > > On Oct 22, 2013, at 12:42 PM, Raheel Hasan <raheelhasan....@gmail.com 
> > > (mailto:raheelhasan....@gmail.com)(mailto:
> > raheelhasan....@gmail.com (mailto:raheelhasan....@gmail.com))> wrote:
> > >  
> > > > Hi,
> > > >  
> > > > is there a way to stop/restart java? I lost control over it via SSH and
> > > > connection was closed. But the Solr (start.jar) is still running.
> > > >  
> > > > thanks.
> > > >  
> > > > --
> > > > Regards,
> > > > Raheel Hasan
> > > >  
> > >  
> > >  
> >  
> >  
>  
>  
>  
> --  
> Regards,
> Raheel Hasan
>  
>  


Reply via email to