diff --git a/glances/plugins/glances_system.py b/glances/plugins/glances_system.py index 0ff6ecb9..d1962c52 100644 --- a/glances/plugins/glances_system.py +++ b/glances/plugins/glances_system.py @@ -123,7 +123,8 @@ class Plugin(GlancesPlugin): else: self.stats['linux_distro'] = ' '.join(linux_distro[:2]) self.stats['os_version'] = platform.release() - elif self.stats['os_name'].endswith('BSD'): + elif (self.stats['os_name'].endswith('BSD') or + self.stats['os_name'] == 'SunOS'): self.stats['os_version'] = platform.release() elif self.stats['os_name'] == "Darwin": self.stats['os_version'] = platform.mac_ver()[0]