Unix

Conky - 시스템 모니터

ForceCore 2010. 10. 17. 23:55
오픈박스 스크린샷을 보면 이상하게 멋있어 보이려고 프로세스 목록, 메모리 얼마나 비었는지 이런 시스템 모니터를 꼭 너놓더라. 거기 쓰는 프로그램 이름이 conky임을 알아내었다.

필자의 conkyrc
background yes
use_xft yes
xftfont DejaVu Sans Mono:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 200
draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color white
default_outline_color cornflowerblue
alignment middle_left
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${font sans-serif:bold:size=8}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
File System: $alignr${fs_type}

${font sans-serif:bold:size=8}CPU${hr 2}
${font sans-serif:normal:size=8}${cpugraph cpu1}
Core 1: ${cpu cpu1}% ${cpubar cpu1}
${font sans-serif:normal:size=8}${cpugraph cpu2}
Core 2: ${cpu cpu2}% ${cpubar cpu2}
${font sans-serif:normal:size=8}${cpugraph cpu3}
Core 3: ${cpu cpu3}% ${cpubar cpu3}
${font sans-serif:normal:size=8}${cpugraph cpu4}
Core 4: ${cpu cpu4}% ${cpubar cpu4}

${font sans-serif:bold:size=8}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar

${font sans-serif:bold:size=8}HDD ${hr 2}
${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
${font sans-serif:normal:size=8}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}

${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %

${font sans-serif:bold:size=8}NETWORK ${hr 2}
${font sans-serif:normal:size=8}IP address: $alignr ${addr wlan0}
ESSID: $alignr ${wireless_essid wlan0}
Connection quality: $alignr ${wireless_link_qual_perc wlan0}%
${downspeedgraph wlan0}
DLS:${downspeed wlan0} kb/s $alignr total: ${totaldown wlan0}
${upspeedgraph wlan0}
ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}
으음.. 스샷이 없으면 곤란하지.


뻘겋게 해놓은 tint2 panel은 주황이나, 하여튼 붉은 계통의 바탕화면과 잘 어울리는듯. 아무래도 시스템 모니터도 빨갛게 해야 되겠다.