@repl_command<EOL><INDENT>def do_watch(self, *args):<DEDENT>
tables = []<EOL>if not self.engine.cached_descriptions:<EOL><INDENT>self.engine.describe_all()<EOL><DEDENT>all_tables = list(self.engine.cached_descriptions)<EOL>for arg in args:<EOL><INDENT>candidates = set((t for t in all_tables if fnmatch(t, arg)))<EOL>for t in sorted(candidates):<EOL><INDENT>if t not in tables:<EOL><INDENT>tables.append(t)<EOL><DEDENT><DEDENT><DEDENT>mon = Monitor(self.engine, tables)<EOL>mon.start()<EOL>
Watch Dynamo tables consumed capacity