>>> a = os.popen("pgrep top").read().strip()
>>> a'3276'>>> os.system("kill -9 %s" % a)0
posted on 2013-01-04 12:56 wangbokun 阅读(610) 评论(0) 收藏 举报