Conclua esta lição para consultar as classificações de serviço atuais, bem como as classificações de serviço que estão disponíveis para upgrade.
cd wxs_home/bin
./xscmd.sh -c osgiCurrent -g Grid -ms MapSet -sn myShardListener
A saída a seguir é exibida:
OSGi Service Name: myShardListener
ObjectGrid Name MapSet Name Server Name Current Ranking
--------------- ----------- ----------- ---------------
Grid MapSet collocatedServer 1
CWXSI0040I: The command osgiCurrent has completed successfully.
cd wxs_home/bin
./xscmd.sh -c osgiCurrent -g Grid -ms MapSet
A saída a seguir é exibida:
OSGi Service Name Current Ranking ObjectGrid Name MapSet Name Server Name
----------------- --------------- --------------- ----------- -----------
myProtoBufSerializer 1 Grid MapSet collocatedServer
myShardListener 1 Grid MapSet collocatedServer
CWXSI0040I: The command osgiCurrent has completed successfully.
cd wxs_home/bin
./xscmd.sh -c osgiAll -sn myShardListener
A saída a seguir é exibida:
Server: collocatedServer
OSGi Service Name Available Rankings
----------------- ------------------
myShardListener 1
Summary - All servers have the same service rankings.
CWXSI0040I: The command osgiAll has completed successfully.
A saída é
agrupada pelo servidor. Neste exemplo, apenas o seguinte servidor existe: collocatedServer.cd wxs_home/bin
./xscmd.sh -c osgiAll
A saída a seguir é exibida:
Server: collocatedServer
OSGi Service Name Available Rankings
----------------- ------------------
myProtoBufSerializer 1
myShardListener 1
Summary - All servers have the same service rankings.
cd wxs_home/bin
./xscmd.sh -c osgiAll
A saída a seguir é exibida:
Server: collocatedServer
OSGi Service Name Available Rankings
----------------- ------------------
myProtoBufSerializer 1, 2
myShardListener 1, 2
Summary - All servers have the same service rankings.
Neste tutorial, você consultou atualmente todas as classificações de serviço, e classificações de serviço especificadas, disponíveis. Você também exibiu a classificação de serviço para um novo pacote configurável que você instalou e iniciou.