mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-23 17:22:46 +03:00
Add the PsUtil version to the -v and -h tag
This commit is contained in:
parent
2c0a31855c
commit
94a7cc57ca
@ -2563,6 +2563,7 @@ class glancesScreen:
|
||||
_("Compute data..."), 15)
|
||||
return 6
|
||||
|
||||
# Display the processes list
|
||||
proc_num = min(screen_y - self.term_h +
|
||||
self.process_y - log_count + 5,
|
||||
len(processlist))
|
||||
@ -3322,7 +3323,7 @@ class GlancesClient():
|
||||
|
||||
|
||||
def printVersion():
|
||||
print(_("Glances version") + (" ") + __version__)
|
||||
print(_("Glances version") + (" ") + __version__ + _(" with PsUtil ") + psutil.__version__)
|
||||
|
||||
|
||||
def printSyntax():
|
||||
|
Loading…
Reference in New Issue
Block a user