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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.6, 3.0.0
    • Component/s: None
    • Labels:
      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).

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ioannis Canellos
            Reporter:
            james strachan
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development