Skip to content

Instantly share code, notes, and snippets.

@ritsz
Created September 22, 2013 16:36
Show Gist options
  • Select an option

  • Save ritsz/6661628 to your computer and use it in GitHub Desktop.

Select an option

Save ritsz/6661628 to your computer and use it in GitHub Desktop.
background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
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 400 5
maximum_width 400
draw_shades no
draw_outline no
draw_borders yes
draw_graph_borders no
default_color white
default_shade_color red
default_outline_color white
alignment top_right
gap_x 12
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
TEXT
${color black}$sysname $kernel on $machine
Uptime $alignr $uptime
Load $alignr $loadavg
$color$stippled_hr
${color black}$processes processes ($running_processes running)
${color black}Name PID CPU% MEM%
${color black} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color black} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color black} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color black} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color black} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
$color$stippled_hr
${color black}Hostname $alignr ${color black}$nodename
${color black}wlan0 $alignr ${color black}${addr wlan0}
${color black}Inbound $alignr ${downspeed wlan0} kb/s
${color red}${downspeedgraph wlan0}
${color black}Outbound $alignr ${upspeed wlan0} kb/s
${color red}${upspeedgraph wlan0}
$color$stippled_hr
${color black}CPU2 ${cpu cpu2}% ${color black}
${cpubar cpu2}
${color black}MEM $alignc $mem / $memmax $alignr $memperc%
${color red}$membar
${color black}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${color red}${fs_bar /}
$color$stippled_hr
${color black}Networking:
$color wlan0: downloaded ${totaldown wlan0}; uploaded ${totalup wlan0}
$color$stippled_hr
${color black}Port Statistics:
${color red} ${tcp_portmon 1 65535 count} $color total connections
${color red} ${tcp_portmon 1 9999 count} $color on ${color red}1-9999
${color red} ${tcp_portmon 10000 65535 count} $color above ${color red}9999
$color$stippled_hr
${color black}Messages:
${color black}${execi 0.01 /bin/dmesg | tail}
$color$stippled_hr
${color black}${execi 5 cat /var/log/messages | tail}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment