Skip to content

Instantly share code, notes, and snippets.

@tun
Created September 13, 2009 07:31
Show Gist options
  • Save tun/186113 to your computer and use it in GitHub Desktop.
Save tun/186113 to your computer and use it in GitHub Desktop.
Conky
alignment middle_right
background no
border_width 0
border_margin 10
cpu_avg_samples 2
default_color white
default_outline_color black
default_shade_color white
draw_borders no
draw_graph_borders no
draw_outline yes
draw_shades no
gap_x 5
gap_y 5
minimum_size 5 5
maximum_width 250
own_window yes
own_window_class Conky
own_window_type desktop
own_window_hints undecorated,below,skip_taskbar
own_window_transparent yes
short_units yes
use_xft yes
xftalpha 0.8
xftfont snap
net_avg_samples 2
no_buffers yes
out_to_console no
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
double_buffer yes
TEXT
${font}${color ffffff}${outlinecolor 333333}${alignc}${exec cat /etc/issue.net}
${color ffffff}${alignc}Kernel: $kernel
${color ff5500}${outlinecolor}$hr
${font}${color grey}${alignc}${time %A} ${color ff5500}|${color grey} ${time %e:%B:%G} ${color ff5500}|${color grey} ${time %H:%M:%S}
${color}RAM:${color} ${alignr}$mem/$memmax
${color grey}$memperc% ${color 333333}${alignr}${membar 5,150}
${color}SWAP:${color} ${alignr}$swap/$swapmax
${color grey}$swapperc% ${color 444444}${alignr}${swapbar 5,150}
${color}CPU 1:${color grey} ${cpu cpu0}%
${cpugraph cpu0 20,250 000000 00bfff}
${color}CPU 2:${color grey} ${cpu cpu1}%
${cpugraph cpu1 20,250 000000 00bfff}
${color}Uptime:${color grey} $uptime ${alignr}${color}Load:${color grey} $loadavg
${color}Processes:${color grey} $processes ${alignr}${color}Running:${color grey} $running_processes
${color 555555}Name ${alignr}PID CPU% MEM%
${color grey} ${top name 1} ${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
${color grey} ${top name 2} ${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
${color grey} ${top name 3} ${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
${color grey} ${top name 4} ${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
${color}File systems:
${color} / ${alignr}$color${fs_free_perc /}% free of ${fs_size /}
${color 333333}${fs_bar 10 /}
${color} /home ${alignr}$color${fs_free_perc /home}% free of ${fs_size /home}
${color 333333}${fs_bar 10 /home}
${if_up wlan0}
${color}Networking: ${alignr}${color grey}wlan0 ${color}(${color grey}wired${color})
${color}Up:${color grey} ${upspeed wlan0} k/s${color} $alignr Down:${color grey} ${downspeed wlan0} k/s
${upspeedgraph wlan0 25,120 000000 00bfff} ${alignr}${downspeedgraph wlan0 25,120 000000 00bfff}
${else}
${color}Networking: ${alignr}${color grey}eth0 ${color}(${color grey}wired${color})
${color}Up:${color grey} ${upspeed eth0} k/s${color} $alignr Down:${color grey} ${downspeed eth0} k/s
${upspeedgraph eth0 25,120 000000 00bfff} ${alignr}${downspeedgraph eth0 25,120 000000 00bfff}
${endif}
${color}Port(s)${alignr}Connections
${color}In: ${color 00bfff}${tcp_portmon 1 32767 count} ${alignr}${color}Local Service/Port
${color grey}${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${color grey}${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${color grey}${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${color grey}${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
${color}Out: ${color 00bfff}${tcp_portmon 32768 61000 count} ${alignr}${color}Remote Service/Port
${color grey}${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${color grey}${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${color grey}${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${color grey}${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment