Lines Matching full:os
21 import os
30 sys.path.append(os.path.join(os.path.dirname(__file__),
58 jiffies_per_sec = os.sysconf(os.sysconf_names['SC_CLK_TCK'])
72 jiffies_per_sec = os.sysconf(os.sysconf_names['SC_CLK_TCK'])
323 _, _, _, _, machine = os.uname()
449 def run(self, hardware, scenario, result_dir=os.getcwd()):
450 abs_result_dir = os.path.join(result_dir, scenario._name)
460 uri = "unix:/var/tmp/qemu-migrate-%d.migrate" % os.getpid()
462 os.remove(uri[5:])
463 os.remove(monaddr)
473 dstmonaddr = "/var/tmp/qemu-dst-%d-monitor.sock" % os.getpid()
474 srcmonaddr = "/var/tmp/qemu-src-%d-monitor.sock" % os.getpid()
479 name="qemu-src-%d" % os.getpid(),
485 name="qemu-dst-%d" % os.getpid(),
498 if uri[0:5] == "unix:" and os.path.exists(uri[5:]):
499 os.remove(uri[5:])
501 if os.path.exists(srcmonaddr):
502 os.remove(srcmonaddr)
504 if self._dst_host == "localhost" and os.path.exists(dstmonaddr):
505 os.remove(dstmonaddr)