I am using python and qube 5.4. I am trying to get a list of subjobs from all the workers. This is where I start:
hosts = qb.hostinfo(subjobs=True)
Sometimes the result is rather unexpected:
host.processors=0/0,
host.memory=0/12286,
host.swap=0/8388607
Host({
'description': '',
'lastupdate': 1231360047,
'restrictions': '',
'jobtypes': 'maya,frame,cmdline,cmdrange',
'locks': 'host.processor_all=0',
'reason': '',
'groups': 'psyop',
'address': '10.130.2.12',
'flagsstring': 'dedicated,auto_mount,remove_logs,load_profile',
'properties': 'host.qube_version=5.2-2,host.processor_speed=2667,host.architecture=,host.proxy_mode=proxy,host.os=winnt,host.qube_build=bld-5-2-2007-11-05-0,host.kernel_version=5.2,host.cpus=8,host.worker_mode=service,host.processor_model=,host.processor_make=GenuineIntel',
'macaddress': '00:30:48:95:BF:DF',
'stats': '',
'name': 'lamrndr012',
'cluster': 'cokeheist_2067P',
'state': 'down',
'flags': 29,
'resources': 'host.processors=0/0,host.memory=0/12286,host.swap=0/8388607'})
At the time I collected this information, this node was running two jobs that occupied 8 of the node's cores. Somehow these subjobs are invisible to the hostinfo command. The qube Gui seems to see the subjobs correctly.
Any help would be appreciated.
Thanks,
jesse