You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ioannis Canellos (Assigned) (JIRA)" <ji...@apache.org> on 2012/02/22 12:12:49 UTC
[jira] [Assigned] (KARAF-1196) implement a 'watch' command so we
can watch the output of a karaf command like the unix 'watch' mechanism
[ https://issues.apache.org/jira/browse/KARAF-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioannis Canellos reassigned KARAF-1196:
---------------------------------------
Assignee: Ioannis Canellos
> 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
>
> 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