Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 14143 invoked from network); 25 Jun 2010 17:03:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Jun 2010 17:03:27 -0000 Received: (qmail 30059 invoked by uid 500); 25 Jun 2010 17:03:27 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 29899 invoked by uid 500); 25 Jun 2010 17:03:26 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 29890 invoked by uid 99); 25 Jun 2010 17:03:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 17:03:26 +0000 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bchesneau@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 17:03:21 +0000 Received: by fxm5 with SMTP id 5so193453fxm.11 for ; Fri, 25 Jun 2010 10:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=X+cK7M4gfBMx2sxyoudimDeRd0hF2lx2u3CbzDbY/wQ=; b=hxSMrqnBrWWnWYVth+WkhNhkFSJzcaAQnqrVsp06gW0oC3G6LvqPpeVENGwc2jz0x2 e1YLtSbf3XJRF/abW8W+j0nuhHUw49TvP44y0cK5YilXnSmjEoUeGzmRn2FxGxBKHY4x 5ggMHRwMdNauqqjekIWFksAzNHmHrdnNuLIQI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Y2A8W5MeRiw1mn+st1yVmamm/YjqyO+XBx2qhoQvj6P6b/KnU1pkTKSqmBqdIt3MLy WNdQtb1kVFGvu7Nud+KFv79sa3d4LZgMcYMsAlERbSAGNQPVc68gq4dsH0DKXwgxvj7V 21IxSIgA01SUtuhhp+lju4zmjiaVzsaRm2t2s= MIME-Version: 1.0 Received: by 10.103.48.21 with SMTP id a21mr287302muk.98.1277485379835; Fri, 25 Jun 2010 10:02:59 -0700 (PDT) Received: by 10.103.228.5 with HTTP; Fri, 25 Jun 2010 10:02:59 -0700 (PDT) In-Reply-To: <2E5B283E-C10F-4716-A5D1-B312A7F0A04A@tumbolia.org> References: <8294820.59751277478532199.JavaMail.jira@thor> <1E86775F-35FB-4CC2-8856-E0C603E36689@tumbolia.org> <9DCD1334-2F3E-4985-BD5F-AA0CAFB370AA@tumbolia.org> <2E5B283E-C10F-4716-A5D1-B312A7F0A04A@tumbolia.org> Date: Fri, 25 Jun 2010 19:02:59 +0200 Message-ID: Subject: Re: [jira] Updated: (COUCHDB-393) Cannot discover currently running http port if ini file specifies port 0 From: Benoit Chesneau To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Fri, Jun 25, 2010 at 6:36 PM, Noah Slater 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