Rechner Informationen auf den xorg oder XFree86 Desktop mit conky
conky als root aus den Ports installieren :

cd /usr/ports/sysutils/conky/
make install clean

Wer nicht die Standards des Tools nutzen möchte erstellt die Datei .conkyrc im $HOME Verzeichnis. Diese Konfiguration ist für Gnome und KDE geeignet. Die Netzwerk Interfaces für downspeed und upspeed weiter unten ( tun0 und em0 ) sind an die eigenen anzupassen.

ee ~/.conkyrc

Beispiel für eine brauchbare Anzeige :
# Conky configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
background no
use_xft no
xftfont Sans:size=10
xftalpha 0.8
mail_spool $MAIL
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_colour black
double_buffer yes
minimum_size 280 5
draw_shades yes
draw_outline no
draw_borders yes
draw_graph_borders yes
stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment bottom_left
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no

TEXT
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
${color red}${cpugraph 0000ff 00ff00}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$color
${color lightgrey}Networking:
 Down:${color #8844ee} ${downspeed tun0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed tun0} k/s
${color #0000ff}${downspeedgraph tun0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph tun0 32,150 0000ff ff0000}
 Down:${color #8844ee} ${downspeed em0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed em0} k/s
${color #0000ff}${downspeedgraph em0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph em0 32,150 0000ff ff0000}
$color
${color lightgrey}File systems:
 /          $color${fs_used /}/${fs_size /}    ${fs_bar /}

${color}Name              PID     CPU%   MEM%
${color #ddaa00} ${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}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
Nun speichern und den Editor verlassen ( ESC -> ENTER -> ENTER ).

conky unter X im Terminal/Konsole als User im Daemon- (Hintergrung) Modus starten :

conky -d &

 

© 2012 bsd-rulez.de CCBot/1.0 (+http://www.commoncrawl.org/bot.html)