Lines Matching defs:utils
51 from common import utils, webutils;
187 if utils.getHostOs() == 'darwin':
302 for oProcess in utils.processListAll():
320 utils.processKill(oProcess.iPid); # No mercy.
325 if utils.processExists(oProcess.iPid):
340 iRc = utils.processCall(asArgs, shell = False, close_fds = False);
357 iRc = utils.sudoProcessCall(asArgs, shell = False, close_fds = False);
379 asMembers = utils.unpackFile(sMaybeArchive, self.sScratchPath, reporter.log,
416 sHost = utils.getHostOs()
436 cMbFreeSpace = utils.getDiskUsage(self.sScratchPath);
450 sHost = utils.getHostOs()
496 secStart = utils.timestampSecond();
498 cSecElapsed = utils.timestampSecond() - secStart;
617 utils.chmodPlusX(sRun);
634 utils.chmodPlusX(sRun);
659 oFile = utils.openNoInherit(sPath, 'wt');
697 if utils.processCall(['pkginfo', '-q', 'SUNWvbox']) != 0:
720 # and utils.getHostOsVersion() in ['8', '8.1', '9', '2008Server', '2008ServerR2', '2012Server']:
783 for oProcess in utils.processListAll():
787 utils.processKill(oProcess.iPid);
819 sHost = utils.getHostOs();