摘要: 1.可执行程序 os.system('pgrep %s > %s' % (process, output)) pidfile = open("output", 'r') totalpid = len(pidfile.readlines()) pidfile.close() if totalpid == 0 : ... 阅读全文
posted @ 2008-12-26 09:56 凌度 阅读(2811) 评论(0) 推荐(0) 编辑