Last active
October 12, 2015 02:18
-
-
Save terrywang/3956748 to your computer and use it in GitHub Desktop.
Terry's conky config on Dell Latitude E6410 & Optiplex 9020
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Terry's conky config | |
# .conkyrc since Ubuntu 8.04 LTS | |
background yes | |
use_xft yes | |
xftfont DejaVu Sans:size=9 | |
xftalpha 0.1 | |
update_interval 1.0 | |
total_run_times 0 | |
own_window yes | |
own_window_type normal | |
own_window_transparent yes | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
double_buffer yes | |
minimum_size 230 5 | |
maximum_width 240 | |
draw_shades no | |
draw_outline no | |
draw_borders no | |
draw_graph_borders yes | |
default_color white | |
default_shade_color black | |
default_outline_color green | |
alignment top_right | |
gap_x 18 | |
gap_y 48 | |
no_buffers yes | |
uppercase no | |
cpu_avg_samples 2 | |
net_avg_samples 1 | |
override_utf8_locale no | |
#use_spacer yes | |
use_spacer right | |
# System status | |
TEXT | |
${font Sans:bold:size=9}${color #0077ff}System$font$color ${hr 1} | |
${color pink}Host ${color orange}$alignr${exec whoami} ${color springgreen}@ ${color DodgerBlue}$nodename ${color yellow}on ${color greenyellow}$machine | |
${color cyan}Kernel ${color hotpink}$alignr$sysname $kernel | |
${color lightcoral}Date ${color goldenrod}${alignr}${time %B %e, %G} | |
${color gold}Time ${color plum}${alignr}${time %I:%M:%S %P} | |
${color tomato}Weekday ${color purple}${alignr}${time %A} | |
${color greenyellow}Up Time ${color green}${alignr}$uptime | |
# CPU Info and Top 5 Processes | |
${font Sans:bold:size=9}${color #0077ff}CPU$font$color${hr 1} | |
${color hotpink}$alignc${exec grep -m 1 'model name' /proc/cpuinfo | awk '{print $4 " " $5 " " $6 " " $9 $8 $10 "" $11}' | |
}$color | |
${color springgreen}Total ${color lightcoral}Usage ${color yellow}@ ${color slategrey}${cpu cpu0}% ${cpubar cpu0}$alignr | |
${cpugraph cpu0} | |
${color indianred}Core 1 @ ${color lightslategrey}${freq_g 1}GHz ${cpu cpu1}% ${cpubar cpu1} | |
${color cyan}Core 2 @ ${color lightslategrey}${freq_g 2}GHz ${cpu cpu2}% ${cpubar cpu2} | |
${color plum}Core 3 @ ${color lightslategrey}${freq_g 3}GHz ${cpu cpu3}% ${cpubar cpu3} | |
${color greenyellow}Core 4 @ ${color lightslategrey}${freq_g 4}GHz ${cpu cpu4}% ${cpubar cpu4} | |
${color hotpink}Load average: ${color greenyellow}$loadavg | |
${color gold}Top Processes$alignr ${color red}PID ${color hotpink}CPU ${color springgreen}MEM$color | |
${color lightslategrey}${top name 1}$alignr${top pid 1}${top cpu 1} ${top mem 1} | |
${top name 2}$alignr${top pid 2}${top cpu 2} ${top mem 2} | |
${top name 3}$alignr${top pid 3}${top cpu 3} ${top mem 3} | |
${top name 4}$alignr${top pid 4}${top cpu 4} ${top mem 4} | |
${top name 5}$alignr${top pid 5}${top cpu 5} ${top mem 5}$color | |
# Memory and Swap | |
${font Sans:bold:size=9}${color #0077ff}Memory$font$color ${hr 1} | |
${color springgreen}Memory$color $alignc ${color steelblue}$mem / $memmax $alignr$memperc% | |
${color slategrey}$membar | |
${color hotpink}Swap$color $alignc ${color steelblue}$swap / $swapmax $alignr $swapperc% | |
${color steelblue}${swapbar} | |
# File System | |
${font Sans:bold:size=9}${color #0077ff}File System$font$color ${hr 1} | |
${color orange}/home${color white}$alignc${color hotpink}${fs_type /home}$alignr${color cyan}${fs_free /home} ${color greenyellow}${fs_free_perc /home}% free | |
${color white}$alignc ${color steelblue}${fs_used /home} / ${fs_size /home} ${color darkorange}$alignr${fs_used_perc /home}% used | |
${color steelblue}${fs_bar /home} | |
${color green}/${color hotpink}$alignc${fs_type /}$alignr${color cyan}${fs_free /} ${color greenyellow}${fs_free_perc /}% free${color} | |
$alignc ${color steelblue}${fs_used /} / ${fs_size /} ${color darkorange}$alignr${fs_used_perc /}% used | |
${color steelblue}${fs_bar /} | |
# Disk I/O | |
${font Sans:bold:size=9}${color #0077ff}Disk I/O$font $color${hr 1} | |
${color slategrey}I/O ${diskiograph}$color | |
# Network | |
${font Sans:bold:size=9}${color #0077ff}Network$font $color${hr 1} | |
${color hotpink}eth0: $color${color slategrey}${addr eth0}$alignr | |
${color limegreen}Down: ${color slategrey}${downspeed eth0}/s ${alignr}${color orangered}Up: ${color slategrey}${upspeed eth0}/s | |
${color slategrey}${downspeedgraph eth0 25,100} ${alignr}${upspeedgraph eth0 25,100} | |
${color steelblue}Total: ${color slategrey}${totaldown eth0} ${alignr}${color steelblue}Total: ${color slategrey}${totalup eth0} | |
${if_up wlan0}${color hotpink}wlan0: $color${addr wlan0}$alignr | |
${color #0077ff}Down: ${color white}${downspeed wlan0}/s ${alignr}${color #0077ff}Up: ${color white}${upspeed wlan0}/s | |
${downspeedgraph wlan0 25,100} ${alignr}${upspeedgraph wlan0 25,100} | |
${color #0077ff}Total: ${color white}${totaldown wlan0} ${alignr}${color #0077ff}Total: ${color white}${totalup wlan0}$endif | |
# TCP Port monitor | |
${font Sans:bold:size=9}${color #0077ff}Connections$font $color${hr 1} | |
${color hotpink}Network Connections: ${color steelblue}${tcp_portmon 1 65535 count} | |
#${color #0077ff}Inbound: ${color white}${tcp_portmon 1 32767 count}$alignr${color #0077ff}Outbound: ${color white}${tcp_portmon 32768 65535 count} | |
${color lightslategrey}${tcp_portmon 32768 61000 rhost 0} ${alignc} ${tcp_portmon 32768 61000 rport 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0} | |
${tcp_portmon 32768 61000 rhost 1} ${alignc} ${tcp_portmon 32768 61000 rport 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1} | |
${tcp_portmon 32768 61000 rhost 2} ${alignc} ${tcp_portmon 32768 61000 rport 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2} | |
${tcp_portmon 32768 61000 rhost 3} ${alignc} ${tcp_portmon 32768 61000 rport 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3} | |
${tcp_portmon 32768 61000 rhost 4} ${alignc} ${tcp_portmon 32768 61000 rport 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