Summary: Lists information about active Service Grid services.
Syntaxgs> list [type] [options] DescriptionThe list command lists information about active Service Grid services.
The following values are allowed for type. Only one type can be specified.
OptionsEach option adds to (or subtracts from) the default information listed. You can specify one option, more than one, or none. The following options are available for types gsm, gsc, and default:
ExamplesList All Services in the Networkgs> list total services 4 [1] Lookup gs-grid, gigaspaces-13 11.0.0.3 [2] Grid Service Container gs-grid pc-nati@11.0.0.3 [3] Lookup gigaspaces-1365 11.0.0.5 [4] Grid Service Manager gs-grid pc-nati@11.0.0.3 List all Service Containersgs> list gsc total 1 [1] Grid Service Container gs-grid pc-nati@11.0.0.3 No contained services List Grid Service Managersgs> list gsm total 1 [1] Grid Service Manager gs-grid pc-nati@11.0.0.3 GigaSpace Service Deployment role=primary GigaSpace planned=1 actual=1 pending=0 id=1 11.0.0.3 List all Active Jini Lookup Service Instances and their Attributesgs> list lus Searching for available Jini Lookup Services... ----------------------------------------------------------------------- -- Discovered Lookup Service at host [ 192.168.10.133:4160 ]. -- Lookup Service registered to the following jini groups: Group [ gigaspaces-6.0XAP-DOTNET-PC ] -- Lookup Service has [3] services, lookup took [1828] millis, [1] seconds: Service Class: com.j_spaces.core.client.JSpaceProxy | 0ab4e4e1-ca5e-4be3-bc00-ac4648108012 Service Attributes Set: [net.jini.lookup.entry.Name(name=myExcelDemoSpace), com.j_spaces.lookup.entry.C lusterName(name=NONE), com.j_spaces.lookup.entry.ClusterGroup(electionGroup=null,replicationGroup=NONE,loadBalancingGrou p=null), com.j_spaces.lookup.entry.Persistent(type=MEMORY), com.j_spaces.lookup.entry.ContainerName(name=myExcelDemoSpac e_container), net.jini.lookup.entry.ServiceInfo(name=JavaSpace,manufacturer=GigaSpaces Technologies Ltd.,vendor=GigaSpac es,version=GigaSpaces Platform(TM) 6.0 XAP edition (build 2001-6),model=,serialNumber=), com.j_spaces.lookup.entry.HostN ame(name=dotnet-pc), com.j_spaces.lookup.entry.State(state=started,electable=null,replicable=null)] Service Class: com.j_spaces.core.JSpaceContainerProxy | c8bd6d9d-0e79-4541-b7e4-1f3427279e5a Service Attributes Set: [net.jini.lookup.entry.Name(name=myExcelDemoSpace_container), com.j_spaces.look up.entry.ContainerName(name=myExcelDemoSpace_container), net.jini.lookup.entry.ServiceInfo(name=JSpaceContainer,manufact urer=GigaSpaces Technologies Ltd.,vendor=GigaSpaces,version=GigaSpaces Platform(TM) 6.0 XAP edition (build 2001-6),model =,serialNumber=), com.j_spaces.lookup.entry.HostName(name=dotnet-pc)] Service Class: com.sun.jini.reggie.RegistrarProxy | e375ba99-4b1f-4c13-9cf0-4b5b76eb2327 Service Attributes Set: [net.jini.lookup.entry.ServiceInfo(name=Lookup,manufacturer=Sun Microsystems, I nc.,vendor=Sun Microsystems, Inc.,version=2.1,model=,serialNumber=), com.sun.jini.lookup.entry.BasicServiceType(type=Loo kup), net.jini.lookup.entry.Name(name=Lookup), org.jini.rio.entry.OperationalStringEntry(name=Service Grid Infrastructur e)] ----------------------------------------------------------------------- -- Discovered Lookup Service at host [ 192.168.10.36:4160 ]. -- Lookup Service registered to the following jini groups: Group [ gigaspaces-6.0XAP-mishak ] -- Lookup Service has [9] services, lookup took [1203] millis, [1] seconds: Service Class: $Proxy18 | 2edbae56-79d6-43bb-abb0-182c5b11a6d0 Service Attributes Set: [org.jini.rio.entry.OperationalStringEntry(name=Compute Grid), org.jini.rio.ent TroubleshootingTerminated services are still listedThe list command uses the lookup service to extract the information regarding the services. A service's entry in the lookup is leased and kept until the next renewal attempt fails. If the service is not properly shutdown, i.e. abruptly terminated, it doesn't unregister itself from the lookup service. Thus, attempts to call list will still display the service until its lease expires. For defaults and configuration options, refer to Jini Lookup Service configuration settings for minMaxServiceLease property. |
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |