It's all about the answers!

Ask a question

lscm daemon key


Dave Marsico (451914) | asked Feb 04 '13, 3:38 p.m.
 Curious if anyone can suggest how to make use of the "key" information provided by list daemons

lscm  list daemons -v
Port  Key                               Description
22205 D9C8886425D28BBFAFCF83D53226648C  Jazz CLI (3.1.0.v20120519_2357)
  /var/tmp/dave_G8
16471 8C7BC1292CBBE8665D2375D49B6218DF  Jazz CLI (3.1.0.v20120519_2357)
  /var/tmp/dave_SCMCI
63489 0CC6ADEDB080DECEBD11C94E094F993E  org.eclipse.ui.ide.workbench
  /ws/dmarsico-rtp/RTC-Client-Linux-4.0/jazz/client/workspace
62504 7F5CEB6C08EF5AA4947CCB22184F90AC  Jazz CLI (3.1.0.v20120519_2357)
  /var/tmp/Dave_Test1
31800 1AE061F08E16BC0A511C46DE15D16DDA  Jazz CLI (3.1.0.v20120519_2357)
  /var/tmp/Dave_HSW-Platform
  /var/tmp/uilib_scratch
16485 7F0AF5B283066E3D8B384E31FEB70986  Jazz CLI (3.1.0.v20120519_2357)
  /var/tmp
52943 C77D08B63C470E3A868E3BFABBABBEF6  

Such that you can specify exactly which daemon is used for a given operation

Comments
Danny Beerens commented Sep 20 '13, 8:06 a.m.

 Would this work with the key of the Visual Studio RTC client daemon too, if I want an lscm session to make use of the connection details of the Visual Studio RTC Client? 


Danny Beerens commented Sep 20 '13, 11:37 a.m.

Ah... Missed that: "...I don't think there's a way to run a particular operation with a specific daemon by specifying its port/key..."

So the answer would be: No.

Accepted answer


permanent link
Tim Mok (6.6k38) | answered Feb 04 '13, 4:14 p.m.
JAZZ DEVELOPER
You can register a sandbox with a daemon by using 'scm daemon register <port> <share-root>'. Then all of your operations in that sandbox should run with that daemon. Is this what you want? I don't think there's a way to run a particular operation with a specific daemon by specifying its port/key.
Dave Marsico selected this answer as the correct answer

Comments
Dave Marsico commented Feb 04 '13, 5:00 p.m.

Thanks Tim!  I think that will work 

Your answer


Register or to post your answer.