Searched refs:stat_path (Results 1 – 3 of 3) sorted by relevance
28 self.stat_path = os_dep.command('kvm_stat')35 utils.run("%s --batch" % self.stat_path)54 cmd = "%s -l" % self.stat_path
211 stat_path = '/sys/class/net/%s/statistics/' % mock_netif._name214 os.listdir.expect_call(stat_path).and_return(())219 os.listdir.expect_call(stat_path).and_return(('some_stat',))221 net_utils.open.expect_call(stat_path + 'some_stat', 'r').and_return(None)226 os.listdir.expect_call(stat_path).and_return(('some_stat',))228 net_utils.open.expect_call(stat_path + 'some_stat', 'r').and_return(f)235 os.listdir.expect_call(stat_path).and_return(('stat1','stat2'))237 net_utils.open.expect_call(stat_path + 'stat1', 'r').and_return(f)240 net_utils.open.expect_call(stat_path + 'stat2', 'r').and_return(f)251 stat_path = '/sys/class/net/%s/statistics/' % mock_netif._name[all …]
149 FilePath stat_path = in GetProcessCPU() local151 if (ReadFileToString(stat_path, &stat)) { in GetProcessCPU()