mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-27 10:42:52 +03:00
Merge branch 'issue3010' into develop
This commit is contained in:
commit
da54624d5a
@ -320,7 +320,7 @@ critical=90
|
||||
# Allow additional file system types (comma-separated FS type)
|
||||
#allow=shm
|
||||
# Alias for root file system
|
||||
#alias=/:Root
|
||||
#alias=/:Root,/zsfpool:ZSF
|
||||
|
||||
[irq]
|
||||
# Documentation: https://glances.readthedocs.io/en/latest/aoa/irq.html
|
||||
|
@ -299,7 +299,7 @@ class PluginModel(GlancesPluginModel):
|
||||
mnt_point = i['alias'] if 'alias' in i else i['mnt_point']
|
||||
if len(mnt_point) + len(i['device_name'].split('/')[-1]) <= name_max_width - 3:
|
||||
# If possible concatenate mode info... Glances touch inside :)
|
||||
mnt_point = i['mnt_point'] + ' (' + i['device_name'].split('/')[-1] + ')'
|
||||
mnt_point += ' (' + i['device_name'].split('/')[-1] + ')'
|
||||
elif len(mnt_point) > name_max_width:
|
||||
mnt_point = mnt_point[:name_max_width] + '_'
|
||||
msg = '{:{width}}'.format(nativestr(mnt_point), width=name_max_width + 1)
|
||||
|
Loading…
Reference in New Issue
Block a user