diff --git a/docs/aoa/network.rst b/docs/aoa/network.rst index 671913ff..42121d00 100644 --- a/docs/aoa/network.rst +++ b/docs/aoa/network.rst @@ -67,11 +67,13 @@ expression works as expected. You can use an online tool like `regex101`_ in order to test your regular expression. You also can automatically hide intercae with no traffic using the -``hide_zero`` configuration key. +``hide_zero`` configuration key. The optional ``hide_threshold_bytes`` option +can also be used to set a threshold higher than zero. .. code-block:: ini [diskio] hide_zero=True + hide_threshold_bytes=0 .. _regex101: https://regex101.com/ diff --git a/glances/standalone.py b/glances/standalone.py index 37696bb8..7786f539 100644 --- a/glances/standalone.py +++ b/glances/standalone.py @@ -196,7 +196,7 @@ class GlancesStandalone: self.stats.end() # Check Glances version versus PyPI one - if self.outdated.is_outdated(): + if self.outdated.is_outdated() and 'unknown' not in self.outdated.installed_version(): latest_version = self.outdated.latest_version() installed_version = self.outdated.installed_version() print(f"You are using Glances version {installed_version}, however version {latest_version} is available.")