Remove test in the glances.conf file

This commit is contained in:
nicolargo 2024-11-11 15:26:59 +01:00
parent 82c2ade01f
commit 172dda97de
1 changed files with 19 additions and 4 deletions

View File

@ -222,8 +222,9 @@ hide_no_up=True
hide_no_ip=True hide_no_ip=True
# Set hide_zero to True to automatically hide interface with no traffic # Set hide_zero to True to automatically hide interface with no traffic
hide_zero=False hide_zero=False
# Set hide_threshold_bytes to an integer value to automatically hide interface with traffic less than this value # Set hide_threshold_bytes to an integer value to automatically hide
hide_threshold_bytes=0 # interface with traffic less or equal than this value
#hide_threshold_bytes=0
# It is possible to overwrite the bitrate thresholds per interface # It is possible to overwrite the bitrate thresholds per interface
# WLAN 0 Default limits (in bits per second aka bps) for interface bitrate # WLAN 0 Default limits (in bits per second aka bps) for interface bitrate
#wlan0_rx_careful=4000000 #wlan0_rx_careful=4000000
@ -286,12 +287,22 @@ disable=False
hide=loop.*,/dev/loop.* hide=loop.*,/dev/loop.*
# Set hide_zero to True to automatically hide disk with no read/write # Set hide_zero to True to automatically hide disk with no read/write
hide_zero=False hide_zero=False
# Set hide_threshold_bytes to an integer value to automatically hide disk with read/write less than this value # Set hide_threshold_bytes to an integer value to automatically hide
hide_threshold_bytes=0 # interface with traffic less or equal than this value
#hide_threshold_bytes=0
# Define the list of disks to be show (comma-separated) # Define the list of disks to be show (comma-separated)
#show=sda.* #show=sda.*
# Alias for sda1 and sdb1 # Alias for sda1 and sdb1
#alias=sda1:SystemDisk,sdb1:DataDisk #alias=sda1:SystemDisk,sdb1:DataDisk
# Set thresholds (in bytes per second) for a given disk name (rx = read / tx = write)
#dm-0_rx_careful=4000000000
#dm-0_rx_warning=5000000000
#dm-0_rx_critical=6000000000
#dm-0_rx_log=True
#dm-0_tx_careful=700000000
#dm-0_tx_warning=900000000
#dm-0_tx_critical=1000000000
#dm-0_tx_log=True
[fs] [fs]
disable=False disable=False
@ -399,6 +410,10 @@ disable=False
# Should be one of the following: # Should be one of the following:
# cpu_percent, memory_percent, io_counters, name, cpu_times, username # cpu_percent, memory_percent, io_counters, name, cpu_times, username
#sort_key=memory_percent #sort_key=memory_percent
# List of stats to disable (not grabed and not display)
# Stats that can be disabled: cpu_percent,memory_info,memory_percent,username,cpu_times,num_threads,nice,status,io_counters,cmdline
# Stats that can not be disable: pid,name
#disable_stats=cpu_percent,memory_info,memory_percent,username,cpu_times,num_threads,nice,status,io_counters,cmdline
# Define CPU/MEM (per process) thresholds in % # Define CPU/MEM (per process) thresholds in %
# Default values if not defined: 50/70/90 # Default values if not defined: 50/70/90
cpu_careful=50 cpu_careful=50