summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorNicolargo <nicolas@nicolargo.com>2014-07-31 13:21:46 +0200
committerNicolargo <nicolas@nicolargo.com>2014-07-31 13:21:46 +0200
commit257a90f718011af6e5e667d316a5244ff520c5a6 (patch)
treec81e5d70267dd07b7c66c5f97f11d9a7ab5dd501 /conf
parent22ea5b117212bfc57c8bb5c9db09dd736d9155a8 (diff)
Add alias feature and optimize history feature footprint
Diffstat (limited to 'conf')
-rw-r--r--conf/glances-test.conf12
-rw-r--r--conf/glances.conf11
2 files changed, 21 insertions, 2 deletions
diff --git a/conf/glances-test.conf b/conf/glances-test.conf
index 450e6810..3e24fd4e 100644
--- a/conf/glances-test.conf
+++ b/conf/glances-test.conf
@@ -51,7 +51,9 @@ critical=90
[network]
# Define the list of hidden network interfaces (comma separeted)
hide=lo
-# Default limits (in bits per second aka bps) for interface bitrate
+# WLAN0 alias name
+wlan0_alias=Wireless
+# WLAN0 Default limits (in bits per second aka bps) for interface bitrate
wlan0_rx_careful=4000000
wlan0_rx_warning=5000000
wlan0_rx_critical=6000000
@@ -62,6 +64,8 @@ wlan0_tx_critical=1000000
[diskio]
# Define the list of hidden disks (comma separeted)
hide=sda2,sda5
+# Alias for sda1
+#sda1_alias=IntDisk
[fs]
# Default limits for free filesytem space in %
@@ -85,6 +89,12 @@ temperature_hdd_critical=60
battery_careful=80
battery_warning=90
battery_critical=95
+# Sensors alias
+temp1_alias=Motherboard 0
+temp2_alias=Motherboard 1
+core 0_alias=CPU Core 0
+core 1_alias=CPU Core 1
+
[processlist]
# Limit values for CPU/MEM per process in %
diff --git a/conf/glances.conf b/conf/glances.conf
index 81155b31..b571aed5 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -51,7 +51,9 @@ critical=90
#[network]
# Define the list of hidden network interfaces (comma separeted)
#hide=lo
-# Default limits (in bits per second aka bps) for interface bitrate
+# WLAN 0 alias
+#wlan0_alias=Wireless IF
+# WLAN 0 Default limits (in bits per second aka bps) for interface bitrate
#wlan0_rx_careful=4000000
#wlan0_rx_warning=5000000
#wlan0_rx_critical=6000000
@@ -62,6 +64,8 @@ critical=90
#[diskio]
# Define the list of hidden disks (comma separeted)
#hide=sda2,sda5
+# Alias for sda1
+#sda1_alias=IntDisk
[fs]
# Default limits for free filesytem space in %
@@ -85,6 +89,11 @@ temperature_hdd_critical=60
battery_careful=80
battery_warning=90
battery_critical=95
+# Sensors alias
+#temp1_alias=Motherboard 0
+#temp2_alias=Motherboard 1
+#core 0_alias=CPU Core 0
+#core 1_alias=CPU Core 1
[processlist]
# Limit values for CPU/MEM per process in %