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

                 Key: KARAF-1196
                 URL: https://issues.apache.org/jira/browse/KARAF-1196
             Project: Karaf
          Issue Type: New Feature
            Reporter: james strachan


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.
{code}
karaf@foo> watch -n 1 --clear "list | grep foo"
{code}

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).


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to