-
Notifications
You must be signed in to change notification settings - Fork 0
/
conkyrc.work
119 lines (92 loc) · 3.96 KB
/
conkyrc.work
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
# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# — Pengo (conky@pengo.us)
#
# from http://www.tuxmaniac.com/work/conkyrc
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_colour DarkSlateGrey
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer right
use_xft no
# Update interval in seconds
update_interval 5.0
# Minimum size of text area
# minimum_size 250 5
# maximum width
maximum_width 300
# stop text being cut off
text_buffer_size 512
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font inconsolata
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 10
gap_y 10
# short units (GiB -> G)
short_units yes
# cut lines I might want to keep
#Last backup done: ${tail /home/mish/.lastbackupdate 1}
#
# stuff after ‘TEXT’ will be formatted on screen
TEXT
$color
${color orange}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine
${color #ffcb48}Uptime:$color $uptime - ${color #ffcb48}Load:$color $loadavg
${color #ffcb48}CPUs$color
${cpu cpu1}% ${alignr}${cpu cpu2}%
${cpugraph cpu1 25,100 78af78 a3a3a3}${alignr}${cpugraph cpu2 25,100 78af78 a3a3a3}
Processes:$color $processes ${color grey}Running:$color $running_processes
${color #98c2c7}NAME PID CPU% MEM% TIME
${color #e5e5e5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${top time 1}
${color #c4c4c4}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${top time 2}
${color #a3a3a3}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${top time 3}
${color #939393}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${top time 4}
${color #838383}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5} ${top time 5}
${color #98c2c7}NAME PID CPU% MEM% VIRT
${color #e5e5e5}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${top_mem mem_vsize 1}
${color #c4c4c4}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${top_mem mem_vsize 2}
${color #a3a3a3}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3} ${top_mem mem_vsize 3}
${color #939393}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4} ${top_mem mem_vsize 4}
${color #838383}${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5} ${top_mem mem_vsize 5}
${color orange}MEMORY / DISK ${hr 2}$color
RAM: $mem/$memmax - $memperc% ${membar 6}$color
Swap: $swap/$swapmax - $swapperc% ${swapbar 6}$color
Root: ${fs_used /}/${fs_size /} ${fs_free_perc /}% ${fs_bar 6 /}$color
${color orange}NETWORK ${hr 2}$color
${color #ffcb48}eth0(${addr eth0})${alignr}${color #ffffff}${downspeed eth0}/s / ${upspeed eth0}/s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0 25,140 000000 00ff00}$color
${color #98c2c7}DOWN: ${color #ffffff}${totaldown eth0}${alignr}${color #98c2c7}UP: ${color #ffffff}${totalup eth0}
${color orange}Connections: ${color orange}Inbound: ${color #ffcb48}${tcp_portmon 1 32767 count} ${color orange}Outbound: ${color #ffcb48}${tcp_portmon 32768 61000 count} ${color orange}Total: ${color #ffcb48}${tcp_portmon 1 65535 count}
${color orange}LOGGING ${hr 2}$color
${execi 60 tail -n3 /var/log/syslog | fold -w50}