The listnc utility can
be used to list the contents of a NamingContext
object.
listnc -listIORs -max <integer> -context <path-from-root-context>
The path is specified as a '/' separated list of names. The '/' by itself denotes the root context. If -listIORs is specified then the utility also displays the IORs of the bound objects/contexts. You can then use the parseIOR utility to display the IOR and know the repository Id of the object and where (host, port) it is running on.
Example:
godel% listnc -listIORs -context / Id Kind Context IOR -- ---- ------- --- nc1 true IOR:010000003700000049444C3A636F6D2E6F626A656374 4572612F6A62726F6B65722F6170692F6E616D696E672F4E616D696E67436F6E746578743A312E30 00000100000000000000300000000101010006000000676F64656C00CA09180000004A424B520003 00020000000014C1D48800000000000000DD00000000 nc4 false IOR:010000003700000049444C3A636F6D2E6F626A656374 4572612F6A62726F6B65722F6170692F6E616D696E672F4E616D696E67436F6E746578743A312E30 00000100000000000000300000000101010006000000676F64656C00CA09180000004A424B520003 00020000000014C1D48800000000000000DF00000000 bank false IOR:010000001500000049444C3A706F6142616E6B2F4261 6E6B3A312E300000000001000000000000002C0000000101010006000000676F64656C00CA091400 00004A424B52000300020000010022C2028362616E6B00000000 nc2 false IOR:010000003700000049444C3A636F6D2E6F626A656374 4572612F6A62726F6B65722F6170692F6E616D696E672F4E616D696E67436F6E746578743A312E30 00000100000000000000300000000101010006000000676F64656C00CA09180000004A424B520003 00020000000014C1D48800000000000000DF00000000
Copyright © 2003, 2004 Novell, Inc. All rights reserved. Copyright © 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.