couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: [jira] Updated: (COUCHDB-393) Cannot discover currently running http port if ini file specifies port 0
Date Fri, 25 Jun 2010 17:02:59 GMT
On Fri, Jun 25, 2010 at 6:36 PM, Noah Slater <nslater@tumbolia.org> wrote:
> Anyone used screen?
>
> When you do "screen -l" you get a list of running screens.
>
> "couchdb -s" could do something similar.
>
> You could then do "couchdb -s PID" to get the status of that instance, with URL.
>
> Thoughts?
>

That can be done by parsing result of ps I think. Is there a way once
we have the pid to get the localstatelibdir  of this pid ? So we could
read the uri or such ?

There maybe a way to do it via erlang but I don't know one actually .

if we could do a remote call on one sname we could get the port but we
don't set the sname actually.

- benoit

- benoit

Mime
View raw message