コード例 #1
0
ファイル: process.py プロジェクト: zunc/const
	def refresh(self):
		self._process.clear()
		out = util.cmdRun('ps aux')
		self.getStat(out)
コード例 #2
0
ファイル: netstat.py プロジェクト: zunc/const
	def refresh(self):
		self._process.refresh()
		self._map_proto = { }
		out = util.cmdRun('netstat -patun')
		self.getStat(out)
		self.printStat()