On Fri, Jun 25, 2010 at 6:36 PM, Noah Slater <[email protected]> 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
