cpu = instances[‘vcpus_current‘]
cpu1 = str(cpu) + ‘核‘
memory = instances[‘memory_current‘] / 1024
memory1=str(memory) + ‘G‘
info = str(cpu1) + str(memory1)
print instance_id,cpu1,memory1,info
i-6gdkkemx 2核 2G 2核2G
时间: 2024-10-13 16:29:00