5 Replies Latest reply on Jul 17, 2017 5:37 AM by Bill Robinson Branched to a new discussion.

    nexec is not working in NSH Script Job

    Siddu angadi

          Hi,

       

           When I execute "ps -ef | grep -v grep | grep watchdog/10 | awk '{print $8}'" using NSH Conole, I am getting the proper output as "[watchdog/10]".

       

           If execute same command using NSH Script job in bladelogic, awk swicth is not working.

       

           NSH Script is as FOllows:

       

                     Untitled.png

       

          But output is coming as:

       

                     Untitled.png

       

           So awk command is not working.  Can someone please help me to get "awk" command worked?

       

      Thanks

      Siddu