2 Replies Latest reply on Jan 30, 2019 5:51 AM by Abigail O'Riordan

    BLCLI get server services

    Abigail O'Riordan

      Hello,

      I would like to get information about some services running in an specific server. That is, this info:

       

       

      I know about this post, where it explain how to get a value from the server Live information.

      Find virtual machines in BladeLogic Server Automation Version: 8.9.02.329

       

      There they use the path in bold. But I don't undestand the logic to get there.

       

      serverKey=`blcli Server getServerDBKeyByName ESTRC1WLAPP001`

      uri=`blcli GenericObject getRESTfulURI ${serverKey}`

      out2=`blcli Get "${uri}/Assets/SystemInfo/System/AssetAttributeValues/Model"`

        • 1. Re: BLCLI get server services
          Bill Robinson

          the services listing is populated by the 'winsvc' command:

          %nexec win12r2-893 winsvc -l

          STOPPED AeLookupSvc Application Experience,

          STOPPED ALG Application Layer Gateway Service,

          STOPPED AppIDSvc Application Identity,

          STOPPED Appinfo Application Information,

          STOPPED AppMgmt Application Management,

          STOPPED AppReadiness App Readiness,

          STOPPED AppXSvc AppX Deployment Service (AppXSVC),

          STOPPED AudioEndpointBuilder Windows Audio Endpoint Builder,

          STOPPED Audiosrv Windows Audio,

          RUNNING BFE Base Filtering Engine,

          STOPPED BITS Background Intelligent Transfer Service,

          1 of 1 people found this helpful
          • 2. Re: BLCLI get server services
            Abigail O'Riordan

            Thanks Bill R.,

             

            Obviously this is the easiest/fastest/simplest way.

            And thanks to NSH, I can grep the output:

             

            SERVER% nexec -i -e winsvc -l | grep -i "WinRM"

            RUNNING WinRM Windows Remote Management (WS-Management),

            1 of 1 people found this helpful