-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenmon-barchart.env
61 lines (57 loc) · 968 Bytes
/
genmon-barchart.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# General settings
disk_mount_point="/home/"
disk_device="nvme1n1"
net_device="enp6s0"
values_file="/tmp/genmon-barchart-values.txt"
# Bars to be included in the chart
declare -a values_order=(
"num_warn"
"num_users"
"num_procs"
"<blank>"
"cpu_freq"
"cpu_load"
"<blank>"
"mem_usage_gb"
"disk_usage_gb"
"<blank>"
"net_rx_mbit_s"
"net_tx_mbit_s"
"<blank>"
"net_skt_tcp"
"net_skt_udp"
"<blank>"
"disk_r_mbyte_s"
"disk_w_mbyte_s"
"<blank>"
"cpu_w"
"gpu_w"
"<blank>"
"cpu_temp"
"gpu_temp"
"ssd_temp"
)
# Max values
declare -A values_max=(
[num_warn]="auto"
[num_users]="auto"
[num_procs]="auto"
[cpu_freq]="auto"
[cpu_load]="auto"
[net_rx_mbit_s]="auto"
[net_tx_mbit_s]="auto"
[net_skt_tcp]="auto"
[net_skt_udp]="auto"
[disk_r_mbyte_s]="auto"
[disk_w_mbyte_s]="auto"
[cpu_w]="auto"
[gpu_w]="auto"
[cpu_temp]=100
[gpu_temp]=100
[ssd_temp]=100
)
# SVG dimensions
svg_width=55
svg_height=30
svg_margin=1
svg_include_blanks="false"