RTC SCM Command Line Iinterface: Display Stream and assoiciated Team Area
One answer
The <tt>list streams</tt> command will output the name of the owner after the name of the workspace. This is slightly more explicit when using <tt>--json</tt>
To determine whether or not the owner is a team area, you would need to cross reference the name with the output of a <tt>lscm list teamareas</tt> command.
> lscm list streams -r testServer (1213) "$$$ stream 1" Mother Ship (1214) "175254 Test" Mother Ship (1219) "a" testSuspendTA (1221) "aa2" testSuspendTA (1222) "aaa Stream" testSuspendTA > lscm list list stream -r testServer --json [ { "name": "$$$ stream 1", "owner": "Mother Ship", "type": "STREAM", "url": "https:\/\/localhost:9443\/jazz\/", "uuid": "_mTvFQB5rEeCRddM5SPpY1g" }, { "name": "aa2", "owner": "testSuspendTA", "type": "STREAM", "url": "https:\/\/localhost:9443\/jazz\/", "uuid": "_rcOpsM2FEd-EopoDdX8bmQ" }, ...
To determine whether or not the owner is a team area, you would need to cross reference the name with the output of a <tt>lscm list teamareas</tt> command.
Comments
Kaushambi Singh
Mar 05 '13, 2:15 p.m.Any command to get the "stream and the stream owner " as output may also work. Please reply.