You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2014/01/22 15:46:23 UTC

[jira] [Resolved] (KARAF-2691) Karaf shell info command to display the pid

     [ https://issues.apache.org/jira/browse/KARAF-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved KARAF-2691.
----------------------------------------

    Resolution: Fixed

Back ported to 2.3.x:
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=edf02488b5777767c13cb1f14c9714186ad42ba7
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=0098ba3affe5654371e72c9cba2c3f0824801550

and 2.x:
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=ff1bf16dc7d66a513211cb5e919a33b46e490019
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=bc7faa6406ad7f4076ad0e7f1d720cd522b83c37


> 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]  <davsclaus>	 would it be possible to show the pid in the karaf info command
> [11:49:17]  <cschneide>	 Sure
> [11:49:52]  <cschneide>	 davsclaus: If you open an issue I can implement it
> [11:50:36]  <cschneide>	 davsclaus: If you want to use the pid in a script it might also make sense to return only the pid
> [11:51:29]  <davsclaus>	 yeah a pid command



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)