参考官方文档,测试下列代码,把oracle的进程映射到python的字典中: [oracle@ycr python]$ more pro_get.py import reimport subprocess args = ['ps', 'aux']ps = subprocess.Popen(args, stdout=subprocess.PIPE)processes = ps.stdout.readlines()header = re.split('\s+', processes.pop(0))[…