forked from pascalwhoop/conky.conf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconky_backup.conf
126 lines (120 loc) · 7.55 KB
/
conky_backup.conf
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
alignment top_right
background no
border_width 1
color1 07CC0D
color2 D1E7D1
color3 FF0000
color4 FFFFFF
cpu_avg_samples 2
default_color D1E7D1
default_outline_color white
default_shade_color white
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
gap_x 0
gap_y 0
border_outer_margin 20
max_port_monitor_connections 64
maximum_width 500
minimum_width 500
max_specials 512
max_user_text 16384
minimum_size 330 10
net_avg_samples 2
no_buffers yes
out_to_console no
wm_class_name Conky
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal
own_window yes
stippled_borders 2
update_interval 2
uppercase no
use_spacer yes
use_xft yes
xftalpha 0.8
xftfont Bitstream Vera Sans Mono:size=9
# WIDTH = 500pixel, ${goto 270} for 2 column designs
# SMALL BAR HEIGHT: 12, LARGE GRAPH HEIGHT: 240
#
#
#
#
TEXT
${color1}$nodename ${alignc}$sysname $kernel ${alignr}${color}${time %l:%M:%p}
${color1}Uptime:${color} $uptime ${color1} Load:${color} $loadavg
$hr
${color #ffff00}CPU: $cpu% ${freq}MHz ${goto 180}${color #ff3300}${acpitemp}°C ${alignr}${color #color1}RAM: $memperc% = $mem / $memmax
${color #88cc00}${cpugraph 60,240 07CC0D FF0000 -t} ${goto 270}${color #88cc00}${memgraph 60,250 07CC0D FF0000 -t}
${color}CPU 1 : ${color1}${cpu cpu1}% ${goto 130}${cpubar cpu1 12,125} ${goto 270}${color}CPU 5 : ${color1}${cpu cpu5}% ${alignr}${cpubar cpu5 12,125}
${color}CPU 2 : ${color1}${cpu cpu2}% ${goto 130}${cpubar cpu2 12,125} ${goto 270}${color}CPU 6 : ${color1}${cpu cpu6}% ${alignr}${cpubar cpu6 12,125}
${color}CPU 3 : ${color1}${cpu cpu3}% ${goto 130}${cpubar cpu3 12,125} ${goto 270}${color}CPU 7 : ${color1}${cpu cpu7}% ${alignr}${cpubar cpu7 12,125}
${color}CPU 4 : ${color1}${cpu cpu4}% ${goto 130}${cpubar cpu4 12,125} ${goto 270}${color}CPU 8 : ${color1}${cpu cpu8}% ${alignr}${cpubar cpu8 12,125}
${color #88cc00}Swap Usage: $swapperc% = $swap/$swapmax ${color #88cc00} ${swapbar 4 color1 color3}
$hr
${color1}Net Down:${color} ${downspeed wlp9s0} ${goto 270}${color1}Net Up:${color} ${upspeed wlp9s0}
${color1}${downspeedgraph wlp9s0 60,240 07CC0D FF0000 -t}${color1} ${goto 270}${upspeedgraph wlp9s0 60,250 07CC0D FF0000 -t}
$hr
${color1}Temperatures in Celsius:
${color1}HDDs ${color} ${hddtemp /dev/sda} ${hddtemp /dev/sdb} ${hddtemp /dev/sdc} ${hddtemp /dev/sdd} ${hddtemp /dev/sde}
${color1}CPUs ${color} ${hwmon 1 temp 1} ${hwmon 1 temp 2} ${hwmon 1 temp 3} ${hwmon 1 temp 4}
${color1}File systems:
${color1}nvme ${color}${fs_used /}/${fs_size /}${color1} ${fs_bar 12 /}
${color1}tank ${color}${fs_used /home/pascalwhoop/tank}/${fs_size /home/pascalwhoop/tank}${color1} ${fs_bar 12 /home/pascalwhoop/tank}
${color1}backup ${color}${fs_used /mnt/ae8b7402-a1c4-43f4-a9fe-c9d73acf4b31}/${fs_size /mnt/ae8b7402-a1c4-43f4-a9fe-c9d73acf4b31}${color1} ${fs_bar 12 /mnt/ae8b7402-a1c4-43f4-a9fe-c9d73acf4b31}
${color1}Read ${color} ${diskio_read /dev/nvme0n1} ${goto 270}${color1}Write: ${color}${diskio_write /dev/nvme0n1}
${color1}${diskiograph_read /dev/nvme0n1 60,240 07CC0D FF0000 -t -l}${color1} ${goto 270}${diskiograph_write /dev/nvme0n1 60,250 07CC0D FF0000 -t -l}
# ZFS Pool Data IO
${color1}ZFS Pool Disks
${color}${diskio /dev/disk/by-id/ata-Hitachi_HUA723020ALA641_YGG2T6JA}${color} ${goto 145}${diskio /dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7J9JB916642} ${goto 270}${color}${diskio /dev/disk/by-id/ata-Hitachi_HUA723020ALA641_YGHYKL7A}${color} ${goto 395}${diskio /dev/disk/by-id/ata-ST2000DL004_HD204UI_S2H7J90C569555}
${color1}${diskiograph /dev/disk/by-id/ata-Hitachi_HUA723020ALA641_YGG2T6JA 60,120 07CC0D FF0000 180MiB -t -l}${color1} ${goto 145}${diskiograph /dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7J9JB916642 60,120 07CC0D FF0000 180MiB -t -l} ${goto 270}${color1}${diskiograph /dev/disk/by-id/ata-Hitachi_HUA723020ALA641_YGHYKL7A 60,125 07CC0D FF0000 180MiB -t -l}${color1} ${goto 395}${diskiograph /dev/disk/by-id/ata-ST2000DL004_HD204UI_S2H7J90C569555 60,125 07CC0D FF0000 180MiB -t -l}
${color}${execi 60 ~/.config/conky/pascalwhoop/zpoolstatus.sh}
# ${color1}/home ${color}${fs_used /home}/${fs_size /home}${alignr}${color1} ${fs_bar 12,120 /home}
# ${color1}/opt ${color}${fs_used /opt}/${fs_size /opt}${alignr}${color1} ${fs_bar 12,120 /opt}
# ${color1}/usr/local ${color}${fs_used /usr/local}/${fs_size /usr/local}${alignr}${color1} ${fs_bar 12,120 /usr/local}
# ${color1}/var ${color}${fs_used /var}/${fs_size /var}${alignr}${color1} ${fs_bar 12,120 /var}
# ${color1}/share1 ${color}${fs_used /share1}/${fs_size /share1}${alignr}${color1} ${fs_bar 12,120 /share1}
$hr
${color1}Top Processes:
${color1}Name PID CPU% MEM% TIME USER
${color}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${top time 1} ${top user 1}
${color}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${top time 2} ${top user 2}
${color}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${top time 3} ${top user 3}
${color}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${top time 4} ${top user 4}
${color}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5} ${top time 5} ${top user 5}
${color1}Mem usage
${color}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${top_mem time 1} ${top_mem user 1}
${color}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${top_mem time 2} ${top_mem user 2}
${color}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3} ${top_mem time 3} ${top_mem user 3}
${color}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4} ${top_mem time 4} ${top_mem user 4}
${color}${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5} ${top_mem time 5} ${top_mem user 5}
$hr
#${color Tan2}ESTABLISHED Connections${color DarkSlateGray}${hr 2}
#
#${offset 10}${color lightgrey}Inbound: ${color white}${tcp_portmon 1 32767 count} ${color lightgrey}Outbound: ${color white}${tcp_portmon 32768 61000 count}${alignr}${color lightgrey}Total: ${color white}${tcp_portmon 1 65535 count}
#
#${color slate grey}Process ${color slate grey}Remote Host ${color slate grey}L-Port ${alignr}${color slate grey}R-Port${color lightgrey}
#
#${texeci 3 netstat -ap | grep 'ESTABLISHED' | sed -r 's|.*[0-9.]+:([0-9]*)\s*([^:]+):([a-zA-Z]+)[^/]+/([a-zA-Z0-9]*)|\4 \2 \1 \3|' | awk '{printf("%-14s %-20s %5s %7s\n",$1,$2,$3,$4)}'}
#old way for network
${color1}Port(s)${alignr}#Connections
${color}Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
${color1}Inbound Connection ${alignr} Local Service/Port${color}
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
${color1}Outbound Connection ${alignr} Remote Service/Port${color}
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
#${color} ${audacious_title}
# ${color1} ${audacious_bar} ${color}