Skip to content

Instantly share code, notes, and snippets.

@dmadisetti
Last active August 31, 2016 16:41
Show Gist options
  • Save dmadisetti/af271fbce8eb69b36b5cec1e9966e294 to your computer and use it in GitHub Desktop.
Save dmadisetti/af271fbce8eb69b36b5cec1e9966e294 to your computer and use it in GitHub Desktop.
alignment top_right
background yes
border_width 1
cpu_avg_samples 2
default_color 6b6b6b
default_outline_color white
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
gap_x 0
gap_y 0
max_port_monitor_connections 64
max_specials 512
max_user_text 16384
maximum_width 525
minimum_size 500 10
net_avg_samples 2
no_buffers yes
border_outer_margin 10
out_to_console no
own_window yes
own_window_type normal
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 100
own_window_argb_value 0
own_window_colour 0a0a09
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 2
update_interval 2
uppercase no
use_spacer yes
use_xft yes
wm_class_name Conky
xftalpha 0.7
xftfont Bitstream Vera Sans Mono:size=13
TEXT
${color #c9c9c9}$nodename ${alignc}$sysname $kernel ${alignr}$color${time %l:%M:%p}
-----------------------------------------------------------------------------
${color #c9c9c9}Uptime:$color $uptime ${color #c9c9c9} Load:$color $loadavg
${color #c9c9c9}CPU:$color ${cpu}% ${color #c9c9c9}${cpubar 5,85} ${color #c9c9c9} Disk I/O: $color${diskio}
${color #c9c9c9}${cpugraph 0 32,155 104E8B c9c9c9} $alignr${color #c9c9c9}${diskiograph 32,155 104E8B c9c9c9 750}
_____________________________________________________________________________
${color #c9c9c9}RAM Usage:$color $mem${color #c9c9c9}/${color}$memmax - $memperc% ${color #c9c9c9}$membar
${color #c9c9c9}Swap Usage:$color $swap${color #c9c9c9}/${color}$swapmax - $swapperc% ${color #c9c9c9}${swapbar}
${color #c9c9c9}Procs:$color $processes ${color #c9c9c9}
${color #c9c9c9}CPU temp:$color${exec sensors | grep -oP "(?<=id 0:\s)\s*[+-]\d+[^C]*C"}
${color #c9c9c9}Fan Speed:$color ${exec sensors | grep -oP "\d+ RPM"}
_____________________________________________________________________________
${color #c9c9c9}Entropy: ${color}${entropy_avail}${color #c9c9c9}/${color}${entropy_poolsize} ${color #c9c9c9}${entropy_bar}
${color #c9c9c9}File system:
${color #c9c9c9}/ $color${fs_used /}/${fs_size /}${alignr}${color #c9c9c9}${fs_bar 5,120 /}
_____________________________________________________________________________
${color #c9c9c9}Net Down:$color ${downspeed eth0} k/s ${color #c9c9c9}Net Up:$color ${upspeed eth0} k/s
${color #c9c9c9}${downspeedgraph eth0 32,155 104E8B c9c9c9} $alignr${color #c9c9c9}${upspeedgraph eth0 32,155 104E8B c9c9c9}
_____________________________________________________________________________
${color #c9c9c9}Top Processes:
${color #c9c9c9}Name PID CPU% MEM%
$color ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
$color ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
$color ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #c9c9c9}Mem usage
$color ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
$color ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
$color ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
_____________________________________________________________________________
${color #c9c9c9}Port(s)${alignr}#Connections
$color Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
${color #c9c9c9}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}
${color #c9c9c9}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}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment