In [1]: project_uid = ‘P1’
In [2]: session_uid = ‘S1’
In [3]: list(db.jobs.find({‘job_type’: ‘rtp_worker’, ‘project_uid’: project_uid,
…: ‘params_spec.session_uid.value’: session_uid}, {‘_id’: 0, ‘version’: 1,
…: ‘instance_information’: 1, ‘status’: 1, ‘project_uid’: 1, ‘uid’: 1, ‘st
…: arted_at’: 1}))
…:
Out[3]:
[{‘project_uid’: ‘P1’,
‘uid’: ‘J11’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘completed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J10’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘completed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J9’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘completed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J8’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘completed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J7’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘completed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J6’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘completed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J13’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘killed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J12’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘killed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J5’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘killed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J4’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘killed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J3’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘killed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J2’,
‘instance_information’: {},
‘started_at’: None,
‘status’: ‘killed’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J15’,
‘instance_information’: {‘platform_node’: ‘wbbc106’,
‘platform_release’: ‘6.8.0-48-generic’,
‘platform_version’: ‘#48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024’,
‘platform_architecture’: ‘x86_64’,
‘cpu_model’: ‘Intel(R) Xeon(R) Gold 5318Y CPU @ 2.10GHz’,
‘physical_cores’: 48,
‘total_memory’: ‘1007.37GB’,
‘available_memory’: ‘992.78GB’,
‘used_memory’: ‘8.77GB’,
‘ofd_soft_limit’: 1024,
‘ofd_hard_limit’: 1048576,
‘driver_version’: ‘12.2’,
‘CUDA_version’: ‘11.8’,
‘gpu_info’: [{‘id’: 0,
‘name’: ‘NVIDIA GeForce RTX 4090’,
‘mem’: 25393692672,
‘pcie’: ‘0000:17:00’},
{‘id’: 1,
‘name’: ‘NVIDIA GeForce RTX 4090’,
‘mem’: 25393692672,
‘pcie’: ‘0000:31:00’},
{‘id’: 2,
‘name’: ‘NVIDIA GeForce RTX 4090’,
‘mem’: 25393692672,
‘pcie’: ‘0000:b1:00’},
{‘id’: 3,
‘name’: ‘NVIDIA GeForce RTX 4090’,
‘mem’: 25393692672,
‘pcie’: ‘0000:ca:00’}]},
‘started_at’: datetime.datetime(2024, 11, 11, 9, 1, 31, 236000),
‘status’: ‘running’,
‘version’: ‘v4.6.0’},
{‘project_uid’: ‘P1’,
‘uid’: ‘J14’,
‘instance_information’: {‘platform_node’: ‘wbbc106’,
‘platform_release’: ‘6.8.0-48-generic’,
‘platform_version’: ‘#48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024’,
‘platform_architecture’: ‘x86_64’,
‘cpu_model’: ‘Intel(R) Xeon(R) Gold 5318Y CPU @ 2.10GHz’,
‘physical_cores’: 48,
‘total_memory’: ‘1007.37GB’,
‘available_memory’: ‘993.16GB’,
‘used_memory’: ‘8.38GB’,
‘ofd_soft_limit’: 1024,
‘ofd_hard_limit’: 1048576,
‘driver_version’: ‘12.2’,
‘CUDA_version’: ‘11.8’,
‘gpu_info’: [{‘id’: 0,
‘name’: ‘NVIDIA GeForce RTX 4090’,
‘mem’: 25393692672,
‘pcie’: ‘0000:17:00’},
{‘id’: 1,
‘name’: ‘NVIDIA GeForce RTX 4090’,
‘mem’: 25393692672,
‘pcie’: ‘0000:31:00’},
{‘id’: 2,
‘name’: ‘NVIDIA GeForce RTX 4090’,
‘mem’: 25393692672,
‘pcie’: ‘0000:b1:00’},
{‘id’: 3,
‘name’: ‘NVIDIA GeForce RTX 4090’,
‘mem’: 25393692672,
‘pcie’: ‘0000:ca:00’}]},
‘started_at’: datetime.datetime(2024, 11, 11, 9, 1, 28, 947000),
‘status’: ‘running’,
‘version’: ‘v4.6.0’}]
In [4]: