| @@ 213-223 (lines=11) @@ | ||
| 210 | if 'status' in display_stats: |
|
| 211 | msg = self.layout_header['status'].format('S') |
|
| 212 | ret.append(self.curse_add_line(msg)) |
|
| 213 | if 'io_counters' in display_stats: |
|
| 214 | msg = self.layout_header['ior'].format('R/s') |
|
| 215 | ret.append( |
|
| 216 | self.curse_add_line( |
|
| 217 | msg, sort_style if process_sort_key == 'io_counters' else 'DEFAULT', optional=True, additional=True |
|
| 218 | ) |
|
| 219 | ) |
|
| 220 | msg = self.layout_header['iow'].format('W/s') |
|
| 221 | ret.append( |
|
| 222 | self.curse_add_line( |
|
| 223 | msg, sort_style if process_sort_key == 'io_counters' else 'DEFAULT', optional=True, additional=True |
|
| 224 | ) |
|
| 225 | ) |
|
| 226 | if args.is_standalone and not args.disable_cursor: |
|
| @@ 770-780 (lines=11) @@ | ||
| 767 | if 'status' in display_stats: |
|
| 768 | msg = self.layout_header['status'].format('S') |
|
| 769 | ret.append(self.curse_add_line(msg)) |
|
| 770 | if 'io_counters' in display_stats: |
|
| 771 | msg = self.layout_header['ior'].format('R/s') |
|
| 772 | ret.append( |
|
| 773 | self.curse_add_line( |
|
| 774 | msg, sort_style if process_sort_key == 'io_counters' else 'DEFAULT', optional=True, additional=True |
|
| 775 | ) |
|
| 776 | ) |
|
| 777 | msg = self.layout_header['iow'].format('W/s') |
|
| 778 | ret.append( |
|
| 779 | self.curse_add_line( |
|
| 780 | msg, sort_style if process_sort_key == 'io_counters' else 'DEFAULT', optional=True, additional=True |
|
| 781 | ) |
|
| 782 | ) |
|
| 783 | if args.is_standalone and not args.disable_cursor: |
|