From 6fdb2fc67cd056e8ce51e9a7f18c620d9fec06b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Humberto=20Di=C3=B3genes?= Date: Mon, 10 Nov 2014 17:00:04 -0300 Subject: Spelling: "openned" is wrong. Also, "open" is more adequate than "opened" in this context. --- NEWS | 2 +- docs/glances-doc.html | 2 +- docs/glances-doc.rst | 2 +- glances/plugins/glances_processlist.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index f4055f2a..96eef545 100644 --- a/NEWS +++ b/NEWS @@ -35,7 +35,7 @@ Version 2.1 or by pressing the ENTER key in the curse interface. For the moment, process filter feature is only available in standalone mode. * Add extended processes informations for top process - Top process stats availables: CPU affinity, extended memory information (shared, text, lib, datat, dirty, swap), openned threads/files and TCP/UDP network sessions, IO nice level + Top process stats availables: CPU affinity, extended memory information (shared, text, lib, datat, dirty, swap), open threads/files and TCP/UDP network sessions, IO nice level For the moment, extended processes stats are only available in standalone mode. * Add --process-short-name tag and '/' key to switch between short/command line * Create a max_processes key in the configuration file diff --git a/docs/glances-doc.html b/docs/glances-doc.html index 32121e8c..af6ad486 100644 --- a/docs/glances-doc.html +++ b/docs/glances-doc.html @@ -699,7 +699,7 @@ User cans switch to the process name by pressing on the
  • CPU affinity (number of cores used by the process)
  • Extended memory information (swap, shared, text, lib, data and dirty on Linux)
  • -
  • Openned threads, files and network sessions (TCP and UDP)
  • +
  • Open threads, files and network sessions (TCP and UDP)
  • IO nice level
  • The extended stats feature could be disabled using the --disable-process-extended option (command line) or the e key (curses interface).

    diff --git a/docs/glances-doc.rst b/docs/glances-doc.rst index db28942e..85c43a15 100644 --- a/docs/glances-doc.rst +++ b/docs/glances-doc.rst @@ -538,7 +538,7 @@ In standalone mode, additionals informations are provided for the top process: * CPU affinity (number of cores used by the process) * Extended memory information (swap, shared, text, lib, data and dirty on Linux) -* Openned threads, files and network sessions (TCP and UDP) +* Open threads, files and network sessions (TCP and UDP) * IO nice level The extended stats feature could be disabled using the --disable-process-extended option (command line) or the ``e`` key (curses interface). diff --git a/glances/plugins/glances_processlist.py b/glances/plugins/glances_processlist.py index 3262d72d..0c368e45 100644 --- a/glances/plugins/glances_processlist.py +++ b/glances/plugins/glances_processlist.py @@ -260,7 +260,7 @@ class Plugin(GlancesPlugin): if 'memory_swap' in p and p['memory_swap'] is not None: msg += _('swap ') + self.auto_unit(p['memory_swap'], low_precision=False) ret.append(self.curse_add_line(msg, splittable=True)) - # Third line is for openned files/network sessions + # Third line is for open files/network sessions msg = '' if 'num_threads' in p and p['num_threads'] is not None: msg += _('threads ') + str(p['num_threads']) + ' ' @@ -274,7 +274,7 @@ class Plugin(GlancesPlugin): msg += _('UDP ') + str(p['udp']) + ' ' if msg != '': ret.append(self.curse_new_line()) - msg = xpad + _('Openned: ') + msg + msg = xpad + _('Open: ') + msg ret.append(self.curse_add_line(msg, splittable=True)) # Fouth line is IO nice level (only Linux and Windows OS) if 'ionice' in p and p['ionice'] is not None: -- cgit v1.2.3