karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie goodyear (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (KARAF-1196) implement a 'watch' command so we can watch the output of a karaf command like the unix 'watch' mechanism
Date Mon, 09 Apr 2012 10:07:23 GMT

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

Jamie goodyear closed KARAF-1196.
---------------------------------

    
> 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
>            Assignee: Ioannis Canellos
>             Fix For: 2.2.6, 3.0.0
>
>
> 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

        

Mime
View raw message