BSD-Wiki

Mitschrift einer FreeBSD-Installation

Benutzer-Werkzeuge

Webseiten-Werkzeuge


conkyrc

Allgemein

Conky ist ein Programm zur Überwachung von Systemressourcen. Es bettet sich in den X11 ein und ist stark konfigurierbar.

Die Konfiguration wird üŒber die hier angehängt Datei vorgenommen.

~/.conkyrc (Desktop)

double_buffer yes
alignment bottom_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=12
gap_x 5
gap_y 0
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${color gray}${scroll 30 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM: $color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 /    $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
 /usr $color${fs_used /usr}/${fs_size /usr} ${fs_bar 6 /usr}
 /data $color${fs_used /data}/${fs_size /data} ${fs_bar 6 /data}
${color grey}Networking:
Up:$color ${upspeed re0} ${color grey} - Down:$color ${downspeed re0}
$hr
${color grey}Name              PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$hr${iconv_start UTF-8 ISO-8859-15}
${color blue}$mpd_album
${color blue}$mpd_artist
${color green}$mpd_title ${iconv_stop}

~/.conkyrc (eeePC)

double_buffer yes
alignment top_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=12
gap_x 0
gap_y 0
minimum_size 800 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${color grey}Up:$color $uptime  \\
${color grey}Freq(MHz):$color $freq  \\
${color grey}RAM:$color $mem/$memmax - $memperc%  \\
${color grey}Swap:$color $swap/$swapmax - $swapperc%  \\
${color grey}CPU:$color $cpu%  \\
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
${color grey}File systems & Networking:
${color grey} / $color${fs_used /}/${fs_size /}  \\
${color grey} /usr $color${fs_used /usr}/${fs_size /usr} | \\
${color grey}Up:$color ${upspeed ath0} ${color grey} - Down:$color ${downspeed ath0}
conkyrc.txt · Zuletzt geändert: 2017/10/02 13:39 (Externe Bearbeitung)

Impressum