コード例 #1
0
 def get_cpu_util (self):
     response    = self.cmd_link.run_single_command('show platform hardware qfp active datapath utilization | inc Load')
     return CShowParser.parse_cpu_util_stats(response)
コード例 #2
0
ファイル: CPlatform.py プロジェクト: wlm328cs/trex
 def get_cpu_util (self):
     response    = self.cmd_link.run_single_command('show platform hardware qfp active datapath utilization | inc Load')
     return CShowParser.parse_cpu_util_stats(response)