diff options
author | nicolargo <nicolas@nicolargo.com> | 2023-12-17 18:42:42 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2023-12-17 18:42:42 +0100 |
commit | 56a7622d14ac12635d9a358f7f263456f412d59f (patch) | |
tree | f504b56738687ba565d6d80484c0d7a495c09868 /conf | |
parent | ab2936bcc88d695bb7ea9773c8588c6e6c74a06e (diff) |
Refactor alias configuration and allow alias for fs devices
#1735
Diffstat (limited to 'conf')
-rw-r--r-- | conf/glances.conf | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/conf/glances.conf b/conf/glances.conf index a5d72a12..b6687573 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -167,8 +167,6 @@ tx_critical=90 #hide=docker.*,lo # Define the list of wireless network interfaces to be show (comma-separated) #show=docker.* -# WLAN 0 alias -#wlan0_alias=Wireless # It is possible to overwrite the bitrate thresholds per interface # WLAN 0 Default limits (in bits per second aka bps) for interface bitrate #wlan0_rx_careful=4000000 @@ -179,6 +177,8 @@ tx_critical=90 #wlan0_tx_warning=900000 #wlan0_tx_critical=1000000 #wlan0_tx_log=True +# Alias for network interface name +alias=wlp2s0:WIFI [ip] disable=False @@ -218,8 +218,8 @@ disable=False hide=loop.*,/dev/loop.* # Define the list of disks to be show (comma-separated) #show=sda.* -# Alias for sda1 -#sda1_alias=InternalDisk +# Alias for sda1 and sdb1 +alias=sda1:InternalDisk,sdb1:ExternalDisk [fs] disable=False @@ -236,6 +236,8 @@ warning=70 critical=90 # Allow additional file system types (comma-separated FS type) #allow=shm +# Alias for root file system +alias=/:Root [irq] # Documentation: https://glances.readthedocs.io/en/latest/aoa/irq.html @@ -307,13 +309,7 @@ battery_careful=80 battery_warning=90 battery_critical=95 # Sensors alias -#temp1_alias=Motherboard 0 -#temp2_alias=Motherboard 1 -#core 0_temperature_core_alias=CPU Core 0 temp -#core 0_fans_speed_alias=CPU Core 0 fan -#or -#core 0_alias=CPU Core 0 -#core 1_alias=CPU Core 1 +#alias=core 0:CPU Core 0,core 1:CPU Core 1 [processcount] disable=False |