[GE issues] [Issue 2948] New - hostname output of qhost and qhost -xml differs

crei crei at sun.com
Fri Mar 6 13:38:33 GMT 2009


http://gridengine.sunsource.net/issues/show_bug.cgi?id=2948
                 Issue #|2948
                 Summary|hostname output of qhost and qhost -xml differs
               Component|gridengine
                 Version|6.2u2
                Platform|Sun
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|clients
             Assigned to|roland
             Reported by|crei






------- Additional comments from crei at sunsource.net Fri Mar  6 05:38:31 -0800 2009 -------
On hosts which might resolve its own hostname with domain the output of
qhost via qhost -xml differs:

1) hostname resolves with gethostbyname: foo.my.domain
2) Ignore Full Qualified Hostname is switched on:
   Bootstrap file:  "ignore_fqdn             true"
3) qhost without xml output:
   > qhost -l h=foo
   HOSTNAME                ARCH         NCPU  LOAD  MEMTOT  MEMUSE  SWAPTO  SWAPUS
   -------------------------------------------------------------------------------
   foo                     lx24-x86        2  0.00 1006.3M  312.4M    2.0G   51.0M

   => hostname is "foo"

4) qhost with xml output:
   > qhost -l h=foo -xml
   <?xml version='1.0'?>
   <qhost xmlns:xsd="http://gridengine.sunsource.net/61/qhost">
    <host name='foo.my.domain'>
      <hostvalue name='arch_string'>lx24-x86</hostvalue>
      <hostvalue name='num_proc'>2</hostvalue>
      <hostvalue name='load_avg'>0.00</hostvalue>
      <hostvalue name='mem_total'>1006.3M</hostvalue>
      <hostvalue name='mem_used'>312.4M</hostvalue>
      <hostvalue name='swap_total'>2.0G</hostvalue>
      <hostvalue name='swap_used'>51.0M</hostvalue>
    </host>
   </qhost>
  => hostname is "foo.my.domain"

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=122226

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list