Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 365AD101E4 for ; Fri, 17 Jan 2014 13:09:31 +0000 (UTC) Received: (qmail 99033 invoked by uid 500); 17 Jan 2014 13:09:25 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 98837 invoked by uid 500); 17 Jan 2014 13:09:21 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 98763 invoked by uid 99); 17 Jan 2014 13:09:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jan 2014 13:09:20 +0000 Date: Fri, 17 Jan 2014 13:09:20 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-2691) Karaf shell info command to display the pid MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-2691?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1387= 4747#comment-13874747 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-2691: --------------------------------------------- By the way, I tested it successfully on master: karaf@root()> $pid 17462 > Karaf shell info command to display the pid > ------------------------------------------- > > Key: KARAF-2691 > URL: https://issues.apache.org/jira/browse/KARAF-2691 > Project: Karaf > Issue Type: Improvement > Components: karaf-core, karaf-shell > Affects Versions: 2.3.3 > Reporter: Claus Ibsen > Assignee: Christian Schneider > Priority: Minor > Fix For: 2.4.0, 3.0.1, 2.3.4 > > > The karaf info is a useful command. > Though it would be nice if it could display the pid (process id). > Not sure how easy that is to grab. > And maybe also a pid command to just return the pid, which can be used in= scripts etc. > [11:47:40] =09 would it be possible to show the pid in the ka= raf info command > [11:49:17] =09 Sure > [11:49:52] =09 davsclaus: If you open an issue I can implemen= t it > [11:50:36] =09 davsclaus: If you want to use the pid in a scr= ipt it might also make sense to return only the pid > [11:51:29] =09 yeah a pid command -- This message was sent by Atlassian JIRA (v6.1.5#6160)