Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2691

Karaf shell info command to display the pid

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.3
    • 2.4.0, 3.0.1, 2.3.4
    • karaf
    • None

    Description

      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

      Attachments

        Activity

          People

            cschneider Christian Schneider
            davsclaus Claus Ibsen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: