Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bluelupoOffline
Post subject: conky Systemmonitor  PostPosted: 17.11.2010, 19:12
Moderator


Joined: 13.09.2010
Posts: 1055
Location: Südostbayern
Status: Offline
Hi zusammen,
hier mein neuester Systemmonitor, realisiert mit dem schlanken Tool conky, zum allgemeinen Gebrauch. Wie schaut's aus - siehe Attachment.

      Code:

# conky config file
#
alignment top_left
background no
default_color yellow
default_outline_color black
default_shade_color white
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
stippled_borders 0
#border_margin
border_width 1
use_xft yes
xftfont DejaVu Sans Mono:size=8
xftalpha 1
gap_x 1
gap_y 50
minimum_size 260 900
no_buffers yes
out_to_console no
out_to_stderr no
own_window yes
own_window_class Conky
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_colour B8DAFF #008000 C0C0C0 808080 ffffff
double_buffer yes
update_interval 8.0
uppercase no
use_spacer right
show_graph_scale no
show_graph_range no
total_run_times 0
cpu_avg_samples 2
net_avg_samples 2
top_cpu_separate false
override_utf8_locale yes

TEXT
BlueLupo's SystemMonitor
${offset 10}${color green}Date:       ${color }${time %A} ${time %e %B %G}
${offset 10}${color green}Time:       ${color }${time %Z} ${time %H:%M:%S}
${offset 10}${color green}IP-Address: ${color }${execi 3600 wget http://checkip.dyndns.org/ -q -O - |grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'} / ${addr eth0}
${offset 10}${color green}Cur.Kernel: ${color}$kernel
${offset 10}${color green}Av. Kernel: ${color}${execi 3600 wget -q -O - http://debian.tu-bs.de/project/aptosid/debian/pool/main/l/linux-aptosid-2.6/ | egrep linux-image-2.6[.].*amd64.deb | awk -F"-" '{print $3"-"$4"-"$5"-"$6}'|cut -d"_" -f1}
${offset 10}${color green}Upd./Hold Packages:  ${color }${execi 900 apt-show-versions|grep -w upgradeable|wc -l} / ${execi 900 dpkg --get-selections|grep hold|wc -l}

${offset 10}${color green}CPU0: ${color}${cpu cpu1}% ${execi 300 sensors|egrep 'Core 0:'|awk '{print $3}'}
${offset 10}${cpugraph ${cpu1} 40,240 000000 ffffff}
${offset 10}${color green}CPU1: ${color}${cpu cpu2}% ${execi 300 sensors|egrep 'Core 1:'|awk '{print $3}'}
${offset 10}${cpugraph ${cpu2} 40,240 000000 ffffff}
${offset 10}${color green}DiskA I/O: ${color}${diskio sda}  ${color green}${alignr}DiskB-I/O: ${color}${diskio sdb}
${offset 10}${diskiograph 40,240 009bf9 ffffff}
${offset 10}${color green}Load: ${color }$loadavg
${offset 10}${loadgraph 40,240 ffff00 00ff00}

${offset 10}${color blue}Highest on CPU
${offset 20}${color red} ${top name 1}        ${top cpu 1}
${offset 20}${color yellow} ${top name 2}        ${top cpu 2}
${offset 20}${color yellow} ${top name 3}        ${top cpu 3}
${offset 20}${color green} ${top name 4}        ${top cpu 4}
${offset 20}${color green} ${top name 5}        ${top cpu 5}
${offset 10}${color blue}Highest on Memory
${offset 20}${color red} ${top_mem name 1}        ${top_mem mem 1}
${offset 20}${color yellow} ${top_mem name 2}        ${top_mem mem 2}
${offset 20}${color yellow} ${top_mem name 3}        ${top_mem mem 3}
${offset 20}${color green} ${top_mem name 4}        ${top_mem mem 4}
${offset 20}${color green} ${top_mem name 5}        ${top_mem mem 5}

${offset 10}${color blue} ${offset 10}MEM:  ${color blue}$memperc% $mem/$memmax
${offset 10}${membar 6,240}
${offset 10}${color green} ${offset 10}HOME: ${color green}${fs_free /home}/${fs_size /home}
${offset 10}${fs_bar 6,240 /home}
${offset 10}${color grey} ${offset 10}VAR:  ${color grey}${fs_free /var}/${fs_size /var}
${offset 10}${color }${fs_bar 6,240 /var}
${offset 10}${color grey} ${offset 10}PHOTO: ${color grey}${fs_free /mnt/photo}/${fs_size /mnt/photo}
${offset 10}${color }${fs_bar 6,240 /mnt/photo}
${offset 10}${color grey} ${offset 10}MUSIC: ${color grey}${fs_free /mnt/music}/${fs_size /mnt/music}
${offset 10}${color }${fs_bar 6,240 /mnt/music}

$font${color green}Outbound Connect ${alignr} Remote Service/Port$color
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${color green}Inbound Connect ${alignr} Local Service/Port$color
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${offset 10}${color}NETWORK DownLoad eth0: ${color white}${downspeed eth0}${color}
${offset 10}${downspeedgraph eth0 40,240 FF7F24 436EEE scale -l 0.5}
${offset 10}${color}NETWORK UpLoad eth0: ${color white}${upspeed eth0}${color}
${offset 10}${upspeedgraph eth0 40,240 000000 ffffff scale -l 0.1}



conky.png.tar
 Description:

Download
 Filename:  conky.png.tar
 Filesize:  110 KB
 Downloaded:  325 Time(s)


_________________
Ciao bluelupo
BlueLupo's Wiki
BlueLupo bei GooglePlus


Last edited by bluelupo on 17.11.2010, 19:36; edited 1 time in total
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
towoOffline
Post subject: conky Systemmonitor  PostPosted: 17.11.2010, 19:24
Moderator


Joined: 27.08.2010
Posts: 1534
Location: Pößneck / Thüringen
Status: Offline
Hm, ich kann dein png nicht öffnen.

_________________


Hinweis: Das ist kein Bug Wink
 
 View user's profile Send private message  
Reply with quote Back to top
bluelupoOffline
Post subject: conky Systemmonitor  PostPosted: 17.11.2010, 19:37
Moderator


Joined: 13.09.2010
Posts: 1055
Location: Südostbayern
Status: Offline
Ist wohl beim Komprimieren etwas schief gegangen. Hab das Attachment ausgetauscht, jetzt geht's.

_________________
Ciao bluelupo
BlueLupo's Wiki
BlueLupo bei GooglePlus
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
towoOffline
Post subject: conky Systemmonitor  PostPosted: 17.11.2010, 19:48
Moderator


Joined: 27.08.2010
Posts: 1534
Location: Pößneck / Thüringen
Status: Offline
Da kann ich ja mein conky auch mal zeigen:

config:
      Code:

# THIS CONFIG RELIES ON 2 SCRIPTS, CPUSPEED AND CPUTEMP
# YOUR SYSTEM MAY NOT REQUIRE THEM, REPLACE AS DESIRED

# maintain spacing between certain elements
use_spacer right

# set to yes if you want conky to be forked in the background
background no

use_xft yes

# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono-9
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10

# Text alpha when using Xft
xftalpha 1
#mail_spool $MAIL

# Update interval in seconds
update_interval 1.0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 200 5

maximum_width 225

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 9

# border width
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey90
default_shade_color black
default_outline_color DarkGrey

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 2
gap_y 2

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# stuff after 'TEXT' will be formatted on screen
#${color #78af78}${cpugraph cpu cpu1 60,309 777777 BBBBBB}

#${color #E7881B}${cpugraph cpu0 777711 BBBBBB}$color
#${color #1BC8E7}${cpugraph cpu1 777711 BBBBBB}$color
#${color #E7881B}${cpugraph cpu2 777711 BBBBBB}$color
#${color #1BC8E7}${cpugraph cpu3 777711 BBBBBB}$color


TEXT
${color #ffcb48}${font Monospace:size=13}  ${time %a %d. %b %k:%M}${font}
${color #ffcb48}$kernel $color
${color #ffcb48}Uptime:$color    ${color #828282}$uptime$color
${color #ffcb48}GPU Temp:  ${color #828282}${execi 30 nvidia-settings -q gpucoretemp |grep '):' | cut -c 42-43} �C
${color #ffcb48}Xorg:      ${color #828282}${execi 1000 xdpyinfo | awk '/version:/ { print $NF }'}
${color #ffcb48}NVidia:    ${color #828282}${execi 1000 glxinfo | awk '/OpenGL version string/{print $NF}'}
$hr
${color #ffcb48}PROCESSING$color
${color #E7881B}CPU1:     ${cpu cpu0}${execi 3 grep  -m1 MHz /proc/cpuinfo| cut -f3} MHz
${color #E7881B}CPU2:     ${cpu cpu1}${execi 3 grep  -m1 MHz /proc/cpuinfo| cut -f3} MHz
${color #1BC8E7}CPU3:     ${cpu cpu2}${execi 3 grep  -m1 MHz /proc/cpuinfo| cut -f3} MHz
${color #1BC8E7}CPU4:     ${cpu cpu3}${execi 3 grep  -m1 MHz /proc/cpuinfo| cut -f3} MHz
${color #E7881B}${cpubar cpu0}$color
${color #E7881B}${cpubar cpu1}$color
${color #1BC8E7}${cpubar cpu2}$color
${color #1BC8E7}${cpubar cpu3}$color
${color #98c2c7}NAME             CPU%      MEM%
${color #e5e5e5}${top name 1}${top cpu 1}    ${top mem 1}
${color #c4c4c4}${top name 2}${top cpu 2}    ${top mem 2}
${color #a3a3a3}${top name 3}${top cpu 3}    ${top mem 3}
${color #828282}${top name 4}${top cpu 4}    ${top mem 4}
${color #616161}${top name 5}${top cpu 5}    ${top mem 5}
$stippled_hr
${color #ffcb48}DATA$color
${color #98c2c7}RAM:$color    $memperc% $mem / $memmax
${color #78af78}${membar }${color}
${color #98c2c7}Swap:$color   $swapperc% $swap / $swapmax
${color #78af78}${swapbar }$color

${color #98c2c7}root    :$color ${fs_used /}/${fs_size /} ${fs_used_perc /}%
${color #78af78}${fs_bar /}$color
${color #98c2c7}home    :$color ${fs_used /home}/${fs_size /home} ${fs_used_perc /home}%
${color #78af78}${fs_bar /home}$color
${color #98c2c7}build   :$color ${fs_used /media/storage/pbuilder/build}/${fs_size /media/storage/pbuilder/build} ${fs_used_perc /media/storage/pbuilder/build}%
${color #78af78}${fs_bar /media/storage/pbuilder/build}$color
${color #98c2c7}storage :$color ${fs_used /media/storage}/${fs_size /media/storage} ${fs_used_perc /media/storage}%
${color #78af78}${fs_bar /media/storage}$color
${color #98c2c7}video   :$color ${fs_used /media/video}/${fs_size /media/video} ${fs_used_perc /media/video}%
${color #78af78}${fs_bar /media/video}$color
${color yellow}Upload:$color    ${upspeed br0}
${color yellow}Download:$color  ${downspeed br0}

_________________


Hinweis: Das ist kein Bug Wink
 
 View user's profile Send private message  
Reply with quote Back to top
myloOffline
Post subject: conky Systemmonitor  PostPosted: 17.11.2010, 22:05



Joined: 12.09.2010
Posts: 551
Location: Wiesbaden, Germany
Status: Offline
sehen ja beide klasse aus, werde ich antesten!! Danke Euch!

_________________
Regards mylo

Linux history: suse>kanotix>sidux>aptosid>siduction

Distro: siduction firestarter
Intel Core2 Duo E6550 2.3 GHz@ Cache/Ram 4MB/4GB nVidia G71 7300 GS 2*250GB
 
 View user's profile Send private message  
Reply with quote Back to top
micha_52Offline
Post subject: conky Systemmonitor  PostPosted: 18.11.2010, 06:26



Joined: 12.09.2010
Posts: 48
Location: Nordstemmen
Status: Offline
habt ihr schon gkrellm ausprobiert?

Grüße,
Michael
 
 View user's profile Send private message  
Reply with quote Back to top
ReinerSOffline
Post subject:   PostPosted: 02.09.2013, 22:05



Joined: 06.04.2011
Posts: 518
Location: Nördliche Lüneburger Heide
Status: Offline
Ist zwar ein alter Thread aber da ich, unter anderem, in den conky-Einstellungen von Towo und Bluelupo "gewildert" habe stelle ich meine aktuelle"Kreation" auch mal hier rein. Razz
      Code:
# THIS CONFIG RELIES ON 2 SCRIPTS, CPUSPEED AND CPUTEMP
# YOUR SYSTEM MAY NOT REQUIRE THEM, REPLACE AS DESIRED

# maintain spacing between certain elements
use_spacer right

# set to yes if you want conky to be forked in the background
background yes

use_xft yes

# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono-9
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10

# Text alpha when using Xft
xftalpha 1
#mail_spool $MAIL

# Update interval in seconds
update_interval 1.0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_argb_visual
own_window_transparent no
own_window_colour midnight blue
own_window_argb_value 180
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 295 900

maximum_width 295

# Draw shades?
draw_shades yes
#draw_shades no

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
#draw_borders yes
draw_borders no

# Stippled borders?
stippled_borders 1
#0

# border margins
#border_margin 9

# border width
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey90
default_shade_color black
default_outline_color DarkGrey

# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 1300
gap_y 35

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# stuff after 'TEXT' will be formatted on screen
#${color #78af78}${cpugraph cpu cpu1 60,309 777777 BBBBBB}

#${color #E7881B}${cpugraph cpu0 777711 BBBBBB}$color
#${color #1BC8E7}${cpugraph cpu1 777711 BBBBBB}$color
#${color #E7881B}${cpugraph cpu2 777711 BBBBBB}$color
#${color #1BC8E7}${cpugraph cpu3 777711 BBBBBB}$color

color0 white
color1 EAEAEA
color2 FFA300
color3 grey


TEXT
${color pale goldenrod}${font Bahamas Normal italic:size=20}  ${time %a %d. %b %k:%M}${font}
${color #ffcb48}${font Bahamas Normal:size=12}$kernel $color$font
${color #ffcb48}Uptime:$color    ${color light sea green}$uptime$color
${color #ffcb48}Xorg:      ${color light sea green}${execi 1000 xdpyinfo | awk '/version:/ { print $NF }'}
${color #ffcb48}NVidia:    ${color light sea green}${execi 1000 glxinfo | awk '/OpenGL version string/{print $NF}'}
$hr
${color #ffcb48}PROCESSING$color
${color #E7881B}CPU1:     ${cpu cpu0}${execi 3 grep  -m1 MHz /proc/cpuinfo| cut -f3} MHz
${color #E7881B}${cpubar cpu0}$color
${color #E7881B}CPU2:     ${cpu cpu1}${execi 3 grep  -m1 MHz /proc/cpuinfo| cut -f3} MHz
${color #E7881B}${cpubar cpu1}$color
${color #E7881B}Temp:     ${color yellow}${acpitemp}°C
${color #98c2c7}NAME             CPU%      MEM%
${color #e5e5e5}${top name 1}${top cpu 1}    ${top mem 1}
${color #c4c4c4}${top name 2}${top cpu 2}    ${top mem 2}
${color #a3a3a3}${top name 3}${top cpu 3}    ${top mem 3}
${color #828282}${top name 4}${top cpu 4}    ${top mem 4}
${color #616161}${top name 5}${top cpu 5}    ${top mem 5}
$stippled_hr
#Netzwerk und Disk-Space
${color #ffcb48}DATA$color
${color #98c2c7}RAM:$color    $memperc% $mem / $memmax
${color #78af78}${membar }${color}
${color #98c2c7}Swap:$color   $swapperc% $swap / $swapmax
${color #78af78}${swapbar }$color

${color #98c2c7}root    :$color ${fs_used /}/${fs_size /} ${fs_used_perc /}%
${color #78af78}${fs_bar /}$color
${color #98c2c7}home    :$color ${fs_used /home}/${fs_size /home} ${fs_used_perc /home}%
${color #78af78}${fs_bar /home}$color
${color #98c2c7}srv   :$color ${fs_used /srv}/${fs_size /srv} ${fs_used_perc /srv}%
${color #78af78}${fs_bar /srv}$color
${color yellow}Upload:$color    ${upspeed br0}
${color yellow}Download:$color  ${downspeed br0}
$hr
#Netzwerk
$font${color green}Outbound Connect ${alignr} Remote Service/Port$color
${tcp_portmon 32768 61000 rhost 0}${alignr}${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1}${alignr}${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2}${alignr}${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3}${alignr}${tcp_portmon 32768 61000 rservice 3}
${color green}Inbound Connect ${alignr} Local Service/Port$color
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${offset 10}${color yellow}NETWORK DownLoad eth0: ${color white}${downspeed eth0}${color}
${offset 10}${downspeedgraph eth0 40,240 FF7F24 436EEE scale -l 0.5}
${offset 10}${color yellow}NETWORK UpLoad eth0: ${color white}${upspeed eth0}${color}
${offset 10}${upspeedgraph eth0 40,240 000000 ffffff scale -l 0.1}
$hr
#Nvidia-Infos
${color2}${font Terminus:size 10}GPU Temp: ${alignr}${color0}${nvidia temp} °C
${color2}Fan Speed: ${alignr}${color0}${execi 5 nvidia-settings -q [fan:0]/GPUCurrentFanSpeed -t} %
${color2}GPU Clock: ${alignr}${color0}${nvidia gpufreq} MHz
${color2}Mem Clock: ${alignr}${color0}${nvidia memfreq} MHz
${color2}Mem Used: ${alignr}${color0}${execi 5 nvidia-settings -q [gpu:0]/UsedDedicatedGPUMemory -t} / ${exec nvidia-settings -q [gpu:0]/TotalDedicatedGPUMemory -t} MiB
${image ./nvidia.png -p 90,710 -s 120x80}
$hr
#Kalender
${color pale goldenrod}${offset 58}${font Bahamas Normal italic:size=13}${exec date +%B | sed 's/^.\| [a-z]/\U&/g'} ${time (%m)} ${time %Y}
${color1}${font monaco:pixelsize=13}${execpi 60 DJS=`date +%_d`; cal | sed '/./!d' | sed '1d'  | sed 's/$/                     /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/  /' | sed /" $DJS "/s/" $DJS "/" "'${color3}'"$DJS"'${color2}'" "/}


Grüße

Reiner



conky.png
 Description:
 Filesize:  95.86 KB
 Viewed:  209 Time(s)

conky.png



_________________
slackware => SuSE => kanotix => sidux => aptosid => siduction
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 11 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio