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

implement a 'watch' command so we can watch the output of a karaf command like the unix 'watch' mechanism

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.6, 3.0.0
    • None
    • None

    Description

      watch in unix lets you watch the output of a command (kinda like 'top' on unix)
      http://en.wikipedia.org/wiki/Watch_(Unix)

      it'd be great to be able to do that in karaf too.

      e.g.

      karaf@foo> watch -n 1 --clear "list | grep foo"
      

      then the screen would keep refreshing every second showing the output of the command until the user hit q/enter/ctrl-c or something. So it'd behave a little like unix commands like top/vmstat allowing you on the console to watch things change (e.g. things startup or stop or whatever).

      Attachments

        Activity

          People

            iocanel Ioannis Canellos
            jstrachan James Strachan
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: