def _get_net_io_counters(self):
counters = psutil.net_io_counters(pernic=self.pernic)<EOL>res = {}<EOL>for name, io in counters.iteritems():<EOL><INDENT>res[name] = io._asdict()<EOL>res[name].update({'<STR_LIT>': <NUM_LIT:0>, '<STR_LIT>': <NUM_LIT:0>})<EOL><DEDENT>return res<EOL>
Fetch io counters from psutil and transform it to
dicts with the additional attributes defaulted