2 Replies Latest reply on Nov 22, 2005 3:10 PM by Pauline Kerwin

    nexec ??HOST?? uname -s

      I'm running the AE snapshot of 6.3.0 and I've been reviewing the training manual, which includes instructions on how to create an extended object that returns the operating system of a host. The command is simply,

       

      nexec ??HOST?? uname -s

       

      This was returning nothing on my Win03 machines, so I attempted to run it from the command-line. Here are my results:

       

      *R51-DEMO-63% nexec rh-www uname -s

      R51-DEMO-63% nexec rh-www2 uname -s

      R51-DEMO-63% nexec rh-db uname -s

      R51-DEMO-63% nexec suse9 uname -s

      R51-DEMO-63% nexec win03-www uname -s

      *

       

      I thought these were supposed to return the OS for me, but nothing returned, so I figured I was running it wrong, so I tried the following:

       

      *R51-DEMO-63% cd //rh-www

      rh-www% nexec -e uname -s

      Linux

      rh-www% cd //rh-db

      rh-db% nexec -e uname -s

       

      rh-db% cd //rh-www2

      rh-www2% nexec -e uname -s

       

      rh-www2% cd //rh-www

      rh-www% nexec -e uname -s

       

      rh-www% uname

      Linux

      rh-www% cd //rh-db

      rh-db% uname

      Linux*

       

      You will notice the first time I go to rh-www and run nexec -e uname -s, I get Linux. However, each subsequent host was returning nothing and when I went back to rh-www I got nothing as well. Finally, I ran uname by itself and that was fine. Perhaps I am misunderstanding something? Here is another strange sequence:

       

      *rh-db% nexec -e uname -s

       

      rh-db% nexec -e uname -s

      Linux

      rh-db% nexec -e uname -s

      Linux

      rh-db% nexec -e uname -s

       

      rh-db%*