{"action":"created","issue":{"url":"https://api.github.com/repos/deis/deis/issues/3121","labels_url":"https://api.github.com/repos/deis/deis/issues/3121/labels{/name}","comments_url":"https://api.github.com/repos/deis/deis/issues/3121/comments","events_url":"https://api.github.com/repos/deis/deis/issues/3121/events","html_url":"https://github.com/deis/deis/issues/3121","id":58409465,"number":3121,"title":"feat(store-admin): add gnu watch","user":{"login":"wenzowski","id":597920,"avatar_url":"https://avatars.githubusercontent.com/u/597920?v=3","gravatar_id":"","url":"https://api.github.com/users/wenzowski","html_url":"https://github.com/wenzowski","followers_url":"https://api.github.com/users/wenzowski/followers","following_url":"https://api.github.com/users/wenzowski/following{/other_user}","gists_url":"https://api.github.com/users/wenzowski/gists{/gist_id}","starred_url":"https://api.github.com/users/wenzowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenzowski/subscriptions","organizations_url":"https://api.github.com/users/wenzowski/orgs","repos_url":"https://api.github.com/users/wenzowski/repos","events_url":"https://api.github.com/users/wenzowski/events{/privacy}","received_events_url":"https://api.github.com/users/wenzowski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-20T20:58:29Z","updated_at":"2015-02-20T22:58:42Z","closed_at":null,"body":"If the base image for the store components is ubu 14.04, shouldn't gnu watch be preinstalled? I'm stumped.\r\n\r\nAnyway, watch is useful while waiting for ceph (or anything else) to do stuff.\r\n\r\nquick little workaround...\r\n```bash\r\n# define a function\r\nwatchCeph () {\r\n  while true; do\r\n  printf \"\\033c\";\r\n  ceph -s;\r\n  sleep 2;\r\n  done;\r\n}\r\n# and use it\r\nwatchCeph;\r\n# then <ctrl>-c to kill it\r\n```"},"comment":{"url":"https://api.github.com/repos/deis/deis/issues/comments/75335218","html_url":"https://github.com/deis/deis/issues/3121#issuecomment-75335218","issue_url":"https://api.github.com/repos/deis/deis/issues/3121","id":75335218,"user":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T22:58:42Z","updated_at":"2015-02-20T22:58:42Z","body":"I think `watch` is present on the Ubuntu-based containers:\r\n```console\r\ncore@deis-01 ~ $ nse deis-store-monitor\r\nroot@deis-01:/# watch\r\n\r\nUsage:\r\n watch [options] command\r\n\r\nOptions:\r\n  -b, --beep             beep if command has a non-zero exit\r\n  -c, --color            interpret ANSI color sequences\r\n  -d, --differences[=<permanent>]\r\n                         highlight changes between updates\r\n  -e, --errexit          exit if command has a non-zero exit\r\n  -g, --chgexit          exit when output from command changes\r\n  -n, --interval <secs>  seconds to wait between updates\r\n  -p, --precise          attempt run command in precise intervals\r\n  -t, --no-title         turn off header\r\n  -x, --exec             pass command to exec instead of \"sh -c\"\r\n\r\n -h, --help     display this help and exit\r\n -v, --version  output version information and exit\r\n\r\nFor more details see watch(1).\r\n```"}}