Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Post hier je .conkyrc plus een screenshot ;) 2013 V.C.  (gelezen 254382 keer)

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #375 Gepost op: 2010/12/20, 11:55:08 »
Denk het niet. Degenen die hierachter zitten zijn zeer toegewijd.


-=[ Not all those who wander are lost ]=-

Offline Erik_m

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #376 Gepost op: 2010/12/20, 12:05:06 »
Wow, wat reageer je snel op vragen. Cool!

Dan gaan we maar eens ppa's adden :) Dank je

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #377 Gepost op: 2010/12/20, 12:09:48 »
Hehehe, zit in de ziektewet en dus veel achter de computer :)


-=[ Not all those who wander are lost ]=-

Offline Erik_m

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #378 Gepost op: 2010/12/20, 16:22:52 »
Sterkte daarmee dan.

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #379 Gepost op: 2010/12/27, 13:20:16 »
ik loop nog steeds te klooien om de temp en rpm in mijn conky te krijgen.

dit krijg ik bij terminal als ik sensors ingeef
peter-server@peter-server:~$ sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:     +1.32 V  (min =  +1.45 V, max =  +1.75 V)
 +3.3 Voltage:     +1.69 V  (min =  +3.00 V, max =  +3.60 V)
 +5.0 Voltage:     +1.61 V  (min =  +4.50 V, max =  +5.50 V)
+12.0 Voltage:    +12.36 V  (min = +11.20 V, max = +13.20 V)
CPU FAN Speed:    1442 RPM  (min =    0 RPM)
CHASSIS FAN Speed:   0 RPM  (min =    0 RPM)
POWER FAN Speed:     0 RPM  (min =    0 RPM)
CPU Temperature:   +28.0°C  (high = +90.0°C, crit = +125.0°C)  
MB Temperature:    +25.0°C  (high = +70.0°C, crit = +125.0°C)  
Power Temperature:+119.0°C  (high = +80.0°C, crit = +125.0°C)  

dit is mijn conky
background no
use_xft yes
xftfont HandelGotD:size=2
xftalpha 0.1
font Sans:size=8
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 250
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 16
gap_y 15
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer right
top_cpu_separate false

TEXT
${color orange}SYSTEEM${hr 2}$color
   computernaam: $nodename
   Kernel: $kernel
   Uptime: $uptime

${color orange}CPU$font${hr 2}$color
   $alignc ${color #FF9A0C}intel pentium 4 3.0 ghz x2$color
   ${freq_g 1}GHz ${cpu cpu1}% ${cpubar cpu1}
   ${freq_g 2}GHz ${cpu cpu2}% ${cpubar cpu2}

${color orange}GEHEUGEN${hr 2}$color
   RAM:       $mem/$memmax    $alignc $memperc% ${membar}
   Swap:      $swap/$swapmax    $alignc $swapperc% ${swapbar}
    
   ${color #FF9A0C}GEH GEBRUIK$alignr PID      CPU%      MEM%$color
   ${top_mem name 1}$alignr${top_mem pid 1}   ${top_mem cpu 1}    ${top_mem mem 1}
   ${top_mem name 2}$alignr${top_mem pid 2}   ${top_mem cpu 2}    ${top_mem mem 2}
   ${top_mem name 3}$alignr${top_mem pid 3}   ${top_mem cpu 3}    ${top_mem mem 3}
   ${top_mem name 4}$alignr${top_mem pid 4}   ${top_mem cpu 4}    ${top_mem mem 4}

${color orange}NETWERK (${addr eth1}) ${hr 2}$color
     Down: ${downspeed eth1} /s               Up: ${upspeed eth1} /s
     Total: ${totaldown eth1}                       Total: ${totalup eth1}   ${top name 3}$alignr${top pid 3}   ${top cpu 3}    ${top mem 3}

${color orange}HDD ${hr 2}$color
${font} ubuntu: ${fs_used /} /${fs_size /} ${alignr} ${fs_bar 5,60 /} ${alignr}
${font} download:  ${fs_used /media/sda1} /${fs_size /media/sda1} ${alignr} ${fs_bar 5,60 /media/sda1} ${alignr}
  ${font} films1:  ${fs_used /media/sdc1} /${fs_size /media/sdc1} ${alignr} ${fs_bar 5,60 /media/sdc1} ${alignr}
${font} muziek: ${fs_used /media/sdc2} /${fs_size /media/sdc2} ${alignr} ${fs_bar 5,60 /media/sdc2} ${alignr}

ik wil dus de cpu fan en temp hebben
en graag de hdd temps

welke regels moet ik invoegen?
weer terug van weg geweest gebruik ubuntu 12.04 weer

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #380 Gepost op: 2010/12/27, 14:17:31 »
Dit geeft 'sensors' bij mij

f71882fg-isa-0500
Adapter: ISA adapter
+3.3V:       +3.33 V
in1:         +1.38 V  (max =  +2.04 V)   
in2:         +1.11 V
in3:         +0.89 V
in4:         +0.58 V
in5:         +0.88 V
in6:         +0.70 V
3VSB:        +3.31 V
Vbat:        +3.28 V
fan1:       3296 RPM
fan2:       1618 RPM
fan3:       1063 RPM
fan4:          0 RPM  ALARM
temp1:       +62.0°C  (high = +255.0°C, hyst = +251.0°C) 
                      (crit = +255.0°C, hyst = +251.0°C)  sensor = transistor
temp2:         FAULT  (high = +255.0°C, hyst = +251.0°C) 
                      (crit = +255.0°C, hyst = +251.0°C)  sensor = transistor
temp3:       +30.0°C  (high = +255.0°C, hyst = +253.0°C) 
                      (crit = +255.0°C, hyst = +253.0°C)  sensor = transistor
Dit is wat ik gebruik

CPU  :   ${execpi 5 sensors | grep 'temp1' | cut -c15-16} °C
MB   :   ${execpi 5 sensors | grep 'temp3' | cut -c15-16} °C
Fan 1: ${execpi 5 sensors | grep 'fan1' | cut -c13-16} rpm
Fan 2: ${execpi 5 sensors | grep 'fan2' | cut -c13-16} rpm
HD 1 :  ${hddtemp /dev/sda} °C
HD 2 :  ${hddtemp /dev/sdb} °C

Je zou dus 'temp1' moeten vervangen door 'CPU Temperature'
'temp3' door 'MB Temperature'
'fan1' door 'CPU FAN'

Power Temperature bij jou is waarschijnlijk een foute uitlezing, sensor bestaat niet?
De | cut -c13-16 waardes zul je moeten aanpassen. De -c13 is het dertiende karakter op de regel. Gewoon even uittellen.


-=[ Not all those who wander are lost ]=-

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #381 Gepost op: 2010/12/27, 15:21:39 »
ik krijg dit dus bij cpu temp
CPU  :   ${execpi 5 sensors | grep 'CPU Temperature' | cut -c15-16} °C
maar op scherm komt alleen onderstaande te staan.
cpu:   e: °C

ps hddtemp doet het wel.


bij netwerk laat hij alles zien maar kan het ook alleen dat hij bijvoorbeeld poort 9091 bijhoud?
« Laatst bewerkt op: 2010/12/27, 18:14:51 door pcschouten »
weer terug van weg geweest gebruik ubuntu 12.04 weer

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #382 Gepost op: 2010/12/27, 22:01:59 »
Probeer eens -c19-20.
Je moet vanaf de eerste letter tellen 15-16 geeft dus e:
Zo te zien zitten er 3 karakters tussen voordat je bij de temperatuur komt.
« Laatst bewerkt op: 2010/12/27, 22:04:29 door elendil »


-=[ Not all those who wander are lost ]=-

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #383 Gepost op: 2010/12/27, 22:06:49 »
bij netwerk laat hij alles zien maar kan het ook alleen dat hij bijvoorbeeld poort 9091 bijhoud?
Geen flauw idee, van het hele poorten gedoe weet ik niets :(


-=[ Not all those who wander are lost ]=-

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #384 Gepost op: 2010/12/27, 23:34:58 »
het is gelukt hier het eindresultaat =D



Uploaded with ImageShack.us

background no
use_xft yes
xftfont HandelGotD:size=2
xftalpha 0.1
font Sans:size=8
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 250
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 16
gap_y 15
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer right
top_cpu_separate false

TEXT
${color orange}SYSTEEM${hr 2}$color
   computernaam: $nodename
   Kernel: $kernel
   Uptime: $uptime

${color orange}CPU$font${hr 2}$color
   $alignc ${color #FF9A0C}intel pentium 4 3.0 ghz x2$color
   ${freq_g 1}GHz ${cpu cpu1}% ${cpubar cpu1}
   ${freq_g 2}GHz ${cpu cpu2}% ${cpubar cpu2}

${color orange}GEHEUGEN${hr 2}$color
   RAM:       $mem/$memmax    $alignc $memperc% ${membar}
   Swap:      $swap/$swapmax    $alignc $swapperc% ${swapbar}
    
   ${color #FF9A0C}GEH GEBRUIK$alignr PID      CPU%      MEM%$color
   ${top_mem name 1}$alignr${top_mem pid 1}   ${top_mem cpu 1}    ${top_mem mem 1}
   ${top_mem name 2}$alignr${top_mem pid 2}   ${top_mem cpu 2}    ${top_mem mem 2}
   ${top_mem name 3}$alignr${top_mem pid 3}   ${top_mem cpu 3}    ${top_mem mem 3}
   ${top_mem name 4}$alignr${top_mem pid 4}   ${top_mem cpu 4}    ${top_mem mem 4}

${color orange}NETWERK (${addr eth1}) ${hr 2}$color
   Down: ${downspeed eth1} /s               Up: ${upspeed eth1} /s
   Total: ${totaldown eth1}                     Total: ${totalup eth1}  

${color orange}NETWERK (${addr tun0}) ${hr 2}$color
   Down: ${downspeed tun0} /s                Up: ${upspeed tun0} /s
   Total: ${totaldown tun0}                    Total: ${totalup tun0}  

${color orange}HDD ${hr 2}$color
${font} ubuntu: ${fs_used /} /${fs_size /} ${alignr} ${fs_bar 5,60 /} ${alignr}
${font} download:  ${fs_used /media/sda1} /${fs_size /media/sda1} ${alignr} ${fs_bar 5,60 /media/sda1} ${alignr}
  ${font} films1:  ${fs_used /media/sdc1} /${fs_size /media/sdc1} ${alignr} ${fs_bar 5,60 /media/sdc1} ${alignr}
${font} muziek: ${fs_used /media/sdc2} /${fs_size /media/sdc2} ${alignr} ${fs_bar 5,60 /media/sdc2} ${alignr}

${color orange}status ${hr 2}$color
   download  (160 gb) :${hddtemp /dev/sda}°C
   ubuntu         (80 gb) :${hddtemp /dev/sdb}°C
   CPU                             :${execpi 5 sensors | grep 'CPU Temperature' | cut -c21-22}  °C
   moederbord             :${execpi 5 sensors | grep 'MB Temperature' | cut -c21-22} °C
   cpu fan         :${execpi 5 sensors | grep 'CPU FAN Speed' | cut -c19-23} rpm

${color orange}handige commando's ${hr 2}$color
  gksudo nautilus
  sudo /etc/init.d/openvpn (...)
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get install (...)

dit is de conky van mijn server met 2 netwerken normaal en vpn.
« Laatst bewerkt op: 2010/12/27, 23:48:08 door pcschouten »
weer terug van weg geweest gebruik ubuntu 12.04 weer

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #385 Gepost op: 2010/12/28, 01:59:27 »
Netjes en duidelijk Peter!


-=[ Not all those who wander are lost ]=-

Offline TopGear

  • Forumteam
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #386 Gepost op: 2010/12/29, 19:07:46 »
${color black}Processor: ${execpi 5 sensors | grep 'CPU Temperature' | cut -c21-22}  °CGeeft mij dit:
Processor: °C
Niet echt wat ik zoek dus. Iemand die me wil/kan helpen?

Toevoeging:
peter@peter-kastje:~$ sensors
it8720-isa-0290
Adapter: ISA adapter
in0:         +0.85 V  (min =  +0.00 V, max =  +4.08 V)   
in1:         +1.58 V  (min =  +0.00 V, max =  +4.08 V)   
in2:         +3.38 V  (min =  +0.00 V, max =  +4.08 V)   
in3:         +3.04 V  (min =  +0.00 V, max =  +4.08 V)   
in4:         +0.27 V  (min =  +0.00 V, max =  +4.08 V)   
in5:         +3.10 V  (min =  +0.00 V, max =  +4.08 V)   
in6:         +0.03 V  (min =  +0.00 V, max =  +4.08 V)   
in7:         +3.02 V  (min =  +0.00 V, max =  +4.08 V)   
Vbat:        +3.09 V
fan1:          0 RPM  (min =    0 RPM)
fan2:          0 RPM  (min =    0 RPM)
fan3:          0 RPM  (min =    0 RPM)
fan4:          0 RPM  (min =    0 RPM)
temp1:       +34.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:       +25.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +9.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor

peter@peter-kastje:~$

Raar eigenlijk. Ik heb namelijk een quadcore.
« Laatst bewerkt op: 2010/12/29, 19:12:00 door TopGear »

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #387 Gepost op: 2010/12/29, 19:31:05 »
[quote][quote author=TopGear link=topic=22280.msg685963#msg685963 date=1293646066]
[code]${color black}Processor: ${execpi 5 sensors | grep 'CPU Temperature' | cut -c21-22}  °C
Geeft mij dit:
Processor: °C
Niet echt wat ik zoek dus. Iemand die me wil/kan helpen?

Toevoeging:
peter@peter-kastje:~$ sensors
it8720-isa-0290
Adapter: ISA adapter
in0:         +0.85 V  (min =  +0.00 V, max =  +4.08 V)  
in1:         +1.58 V  (min =  +0.00 V, max =  +4.08 V)  
in2:         +3.38 V  (min =  +0.00 V, max =  +4.08 V)  
in3:         +3.04 V  (min =  +0.00 V, max =  +4.08 V)  
in4:         +0.27 V  (min =  +0.00 V, max =  +4.08 V)  
in5:         +3.10 V  (min =  +0.00 V, max =  +4.08 V)  
in6:         +0.03 V  (min =  +0.00 V, max =  +4.08 V)  
in7:         +3.02 V  (min =  +0.00 V, max =  +4.08 V)  
Vbat:        +3.09 V
fan1:          0 RPM  (min =    0 RPM)
fan2:          0 RPM  (min =    0 RPM)
fan3:          0 RPM  (min =    0 RPM)
fan4:          0 RPM  (min =    0 RPM)
temp1:       +34.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:       +25.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +9.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor

peter@peter-kastje:~$

Raar eigenlijk. Ik heb namelijk een quadcore.
[/quote]
Ten eerste; heb je deze regel toegevoegd?
override_utf8_locale yes                # Force UTF8 to display degrees centigrade;....... note that UTF8 support required XFT

temp1:       +34.0°C  --> dit is je CPU temperatuur
---------------^ 16e en 17e karakter
Processor: ${execpi 5 sensors | grep 'CPU Temperature' | cut -c21-22}  °C[/code] vervangen door temp1
cut -c21-22 vervangen door cut -c16-17

temp1: = CPU
temp2: = moederbord
temp3: = ? ? ?
« Laatst bewerkt op: 2010/12/29, 19:39:31 door elendil »


-=[ Not all those who wander are lost ]=-

Offline TopGear

  • Forumteam
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #388 Gepost op: 2011/01/02, 11:05:41 »
Hoe kan ik eigenlijk mijn conky parallel laten lopen aan mijn balken?

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #389 Gepost op: 2011/01/02, 13:37:01 »
Dit is er een voorbeeld van.

# Completely (re)written by John Jones on 09/01/2010
# from other people's code, but it's MY layout, so there.
# Edited, extended and partly rewritten by elendilnl between 15 sept and 12 okt 2010

# -== Window Layout & Options ==- #
# Screen size = 1680 x 1050
own_window yes        # Boolean. Create own window to draw?
own_window_colour brown    # set a specified background colour (defaults to black). ONLY if Transparent = no, then this has effect.
own_window_transparent yes # set transparency? sets background opacity to 0%
own_window_type override # if own_window is yes, you may specify type normal, desktop, dock, panel or override (default: normal)
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes # Use double buffering (reduces flicker, may not work for everyone)
#no_buffers no # Substract file system buffers from used memory?
text_buffer_size 4050 # Size of the standard text buffer (default is 256 bytes). # This is NEEDED for the calendar.sh output.
use_spacer left # Adds spaces around certain objects to stop them from moving other things around.
use_xft yes # Use Xft (anti-aliased font and stuff)
xftalpha 1                              # Text alpha when using Xft
override_utf8_locale yes                # Force UTF8 to display degrees centigrade;....... note that UTF8 support required XFT
alignment bl # Screen placement (tl, tr, tm, bl, br, bm, ml, mm, mr)
gap_x 5 # gap_x is the distance from the edge of your screen - relative to Alignment value
gap_y 33 # gap_y is the distance from the top/bottom edge of your screen.
cpu_avg_samples 4                       # number of cpu samples to average. Set to 1 to disable averaging

# -== Colors, Sizes, & Margins ==- #
total_run_times 0                       # Total number of times for Conky to update before quitting. Zero makes Conky run forever
update_interval 1 # update_interval in seconds 
minimum_size 1680 500 # minimum_size in pixels = width, then height 1680 150
maximum_width 1680 # Maximum width of window in pixels 1680
stippled_borders 3 # Border stippling (dashing) in pixels
border_width 0 # Window's border width in pixels.
pad_percents 2 # Pad percentages to this many decimals (0 = no padding)
top_name_width 7 # Width for $top name value (defaults to 15 characters)
default_bar_size 150 6 # Specify a default width and height for bars
short_units yes # Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off

default_color DCDCDC #Gainsboro
color0 7FFFD4 #Aquamarine
color1 CD5C5C #IndianRed #00CED1 DarkTurquoise #FFA07A LightSalmon #00FFFF Cyan
color2 FF8C00 #Darkorange #D2691E #Chocolate
color3 7FFF00 #Chartreuse
color4 778899 #LightSlateGrey
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red

# -== Text ==- #
draw_outline yes # Boolean. Draw outlines?
draw_borders no # Boolean. Draw borders around text?
#draw_graph_borders no # Boolean. Draw borders around graphs?             
font Andale mono:size=8:weight=bold # Font name in X
uppercase no # Boolean value, if true, text is rendered in upper case
draw_shades yes # Boolean. Draw shades?
#mail_spool $MAIL # localmail spool count

TEXT # stuff after 'TEXT' will be formatted on screen
##########################
## WEATHER FORECAST     ##
##########################
${execpi 600 conkyForecast --location=NLXX0003 --template=/home/elendil/conky/Templates/weather-7}
##########################
## SYSTEM INFORMATION   ##
##########################
#${font}${voffset 30}
#${voffset 0}${color2}${font OpenLogos:size=103}v${font}
#${voffset 25}
## Line 1 ################
${color blue}${hr 1}
## Line 2 ################
${color red}System Information${color}${goto 300}${color cyan}Top 5 Processes$color${goto 600}${color white}Drives and Partitions$color${color yellow}${goto 950}Network Statistics$color${goto 1260}${color green}CPU, RAM, Swap${goto 1560}${color orange}Temp and Fans
## Line 3 ################
${color fdfe6c}${time %A}, ${time %e} ${time %B} ${time %G}${goto 205}${time %H:%M:%S}$color${goto 300}${color ff9999}NAME${goto 400}PID${goto 454}CPU${goto 508}MEM${color}${goto 600}${color7}root    : ${color fe6c6c}${fs_bar 6,100 /}  ${fs_used /} ${goto 810}/ ${fs_size /} ${color fe6c6c}  ${fs_used_perc /} %${color}${color7}${goto 950}Local IP : ${color orange}${addr eth0}${goto 1260}${color fe6c6c}CORE 1 ${cpubar cpu1 6,150} ${goto 1460}${cpu cpu1} ${goto 1485}%${goto 1560}${color7}CPU  :   ${color orange}${execpi 5 sensors | grep 'temp1' | cut -c15-16}${color7} °C${color}
## Line 4 ################
${color7}Uptime${goto 100}: ${color orange}${uptime}$color${goto 300}${color red}1. ${top name 1}${goto 392}${top pid 1}${goto 440}${top cpu 1}${goto 494}${top mem 1}${goto 600}${color7}stories : ${color orange}${fs_bar 6,100 /media/stories}  ${fs_used /media/stories} ${goto 810}/ ${fs_size /media/stories} ${color orange}  ${fs_used_perc /media/stories} %${color7}${goto 950}Public IP: ${color orange}${execi 7200 ~/conky/PublicIP.sh}${goto 1260}${color fdfe6c}CORE 2 ${cpubar cpu2 6,150} ${goto 1460}${cpu cpu2} ${goto 1485}%${goto 1560}${color7}MB   :   ${color orange}${execpi 5 sensors | grep 'temp3' | cut -c15-16}${color7} °C${color}
## Line 5 ################
${color7}Kernel          : ${color6}$kernel$color${goto 300}${color ff8c00}2. ${top name 2}${goto 392}${top pid 2}${goto 440}${top cpu 2}${goto 494}${top mem 2}${goto 600}${color7}movies  : ${color fdfe6c}${fs_bar 6,100 /media/movies}  ${fs_used /media/movies} ${goto 810}/ ${fs_size /media/movies} ${color fdfe6c}  ${fs_used_perc /media/movies} %${color7}${goto 950}Upload Speed   : ${color green}${upspeed eth0}/s${color}${goto 1110}${upspeedgraph eth0 10,100 81ff81 00ff00 -l -t}${goto 1260}${color 6ffe6c}CORE 3 ${cpubar cpu3 6,150} ${goto 1460}${cpu cpu3} ${goto 1485}%${goto 1560}${color7}Fan 1: ${color orange}${execpi 5 sensors | grep 'fan1' | cut -c13-16}${color7} rpm${color}
## Line 6 ################
${color7}Conky Version${goto 100}: ${color8}${execi 600 /usr/bin/conky -v  | head -1 | awk '{print $2}'}${color}${goto 300}${color ff8c00}3. ${top name 3}${goto 392}${top pid 3}${goto 440}${top cpu 3}${goto 494}${top mem 3}${goto 600}${color7}music   : ${color 6ffe6c}${fs_bar 6,100 /media/music}  ${fs_used /media/music} ${goto 810}/ ${fs_size /media/music} ${color 6ffe6c}  ${fs_used_perc /media/music} %${color7} ${goto 950}Download Speed : ${color red}${downspeed eth0}/s${color}${goto 1110}${downspeedgraph eth0 10,100 ff8181 fa0000 -l -t}${goto 1260}${color 03c2fb}CORE 4 ${cpubar cpu4 6,150} ${goto 1460}${cpu cpu4} ${goto 1485}%${goto 1560}${color7}Fan 2: ${color orange}${execpi 5 sensors | grep 'fan2' | cut -c13-16}${color7} rpm${color}
##Line 7 #################
${color7}Processes${goto 100}:${color orange}${running_processes}/${processes}$color${goto 300}${color ff8c00}4. ${top name 4}${goto 392}${top pid 4}${goto 440}${top cpu 4}${goto 494}${top mem 4}${goto 600}${color7}video   : ${color 6ceffe}${fs_bar 6,100 /media/video}  ${fs_used /media/video} ${goto 810}/ ${fs_size /media/video} ${color 6ceffe}  ${fs_used_perc /media/video} %${color}${color7}${goto 950}Total Upload   : ${color8}${totalup eth0}${goto 1260}${color5}TOTAL  ${if_match ${cpu}<=70}${color green}${else}${if_match ${cpu}<=75}${color yellow}${else}${if_match ${cpu}>75}${color red}${endif}${endif}${endif}${cpubar}${goto 1460}${cpu cpu0} ${goto 1485}%${goto 1560}${color7}Fan 3: ${color orange}${execi 5 sensors | grep 'fan3' | cut -c13-16}${color7} rpm${color}
## Line 8 ################
${color7}Hostname${goto 100}: ${color8}$nodename  10.10$color${goto 300}${color ff8c00}5. ${top name 5}${goto 392}${top pid 5}${goto 494}${top mem 5}$color${goto 600}${color7}software: ${color 6c7bfe}${fs_bar 6,100 /media/software}  ${fs_used /media/software} ${goto 810}/ ${fs_size /media/software} ${color 6c7bfe}  ${fs_used_perc /media/software} %${color}${color7}${goto 950}Total Download : ${color8}${totaldown eth0}${goto 1260}${color dark grey}RAM    ${membar 6,150} ${goto 1460}${memperc}${color dark grey}${goto 1485}%${goto 1560}${color7}HD 1 :   ${color orange}${hddtemp /dev/sda}${color7} °C${color}
## Line 9 ################
${color7}Processor${goto 100}: ${color8}AMD Phenom II X4 920${goto 600}${color7}elements: ${color fe6cf8}${fs_bar 6,100 /media/Elements}  ${fs_used /media/Elements} ${goto 810}/ ${fs_size /media/Elements} ${color fe6cf8}  ${fs_used_perc /media/Elements} %${color}${goto 950}${color7}Inbound        : ${color1}${tcp_portmon 1 32767 count}${goto 1260}${color dark grey}Max: ${color orange}${memmax}   ${color dark grey}Used: ${color orange}${mem}   ${color dark grey}Free: ${color orange}${memfree}   ${color}${goto 1560}${color7}HD 2 :   ${color orange}${hddtemp /dev/sdb}${color7} °C${color}
## Line 10################
${color7}Freqency${goto 100}: ${color orange}${freq_g cpu0} ${color7}GHz${goto 300}${color #ff9999}System load 1-5-15 min: ${color yellow}${loadavg}${goto 600}${color7}HD Read : ${color}${diskiograph_read 10,100 81ff81 00ff00 -l -t}  ${color green}${diskio_read}${color}${goto 950}${color7}Outbound       : ${color3}${tcp_portmon 32768 61000 count}${goto 1260}${color 43423e}Swap:  ${color 43423e}${swapbar 6,150} ${goto 1460}$swapperc ${goto 1485}%${color}
## Line 11 ###############
${color7}${goto 600}HD Write: ${color}${diskiograph_write 10,100 ff8181 fa0000 -l -t}  ${color red}${diskio_write}${font}${color}${goto 950}${color7}Total          : ${color0}${tcp_portmon 1 65535 count}${color}
## Line 12 ###############
${color blue}${hr 1}${color}${font}
## Line 13 ###############
${color1}${font Andale Mono:bold:size=9}${execi 10 vnstat -u -i eth0}${goto 300}Yesterday${goto 600}Today${goto 950}Week${goto 1260}Month${color}${font}

## Line 14 ###############
${font Andale Mono:bold:size=8}${color1}INTERNET${font}${goto 210}${font Andale Mono:bold:size=8}${color3}Down :${goto 300}${color3}${execi 10 vnstat | grep "yesterday" | awk '{print $2 $3}'}${goto 600}${color3}${execi 10 vnstat | grep "today" | awk '{print $2 $3}'}${goto 950}${color3}${execi 10 vnstat -w | grep "current week" | awk '{print $3 $4}'}${goto 1260}${color3}${execi 10 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}
## Line 15 ###############
${color1}USAGE${goto 210}${color9}Up   :${goto 300}${color9}${execi 10 vnstat | grep "yesterday" | awk '{print $5 $6}'}${goto 600}${color9}${execi 10 vnstat | grep "today" | awk '{print $5 $6}'}${goto 950}${color9}${execi 10 vnstat -w | grep "current week" | awk '{print $6 $7}'}${goto 1260}${color9}${execi 10 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}
## Line 16 ###############
${color1}STATISTICS${goto 210}${color9}${color5}Total:${goto 300}${color5}${execi 10 vnstat | grep "yesterday" | awk '{print $8 $9}'}${goto 600}${color5}${execi 10 vnstat | grep "today" | awk '{print $8 $9}'}${goto 950}${color5}${execi 10 vnstat -w | grep "current week" | awk '{print $9 $10}'}${goto 1260}${color5}${execi 10 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9 $10}'}${font}
## Line 17 ###############
${color blue}${hr 1}${color}${font}

Deze is gebaseerd op een scherm van 1680x1050!
Je zult een heleboel met ${goto} moeten werken om het hele spul uitgelijnd te krijgen.
Een mooi hulpmiddel is Screen Ruler (via Softwarecenter),  een lineaal voor op je scherm.


-=[ Not all those who wander are lost ]=-

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #390 Gepost op: 2011/01/11, 16:59:48 »
ik heb in de terminal een commando gegeven is het mogelijk om dat in de conky te zetten?

gaat hierom   sudo nethogs eth1 (houd het netwerk ik de gaten)
weer terug van weg geweest gebruik ubuntu 12.04 weer

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #391 Gepost op: 2011/01/11, 17:59:05 »
Geen flauw idee, je zou er de handleiding van Conky eens op moeten naslaan.


-=[ Not all those who wander are lost ]=-

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #392 Gepost op: 2011/01/12, 07:23:35 »
Nethogs lijkt me niet het juiste commando daarvoor, aangezien dat programma continu open blijft staan en iedere zoveel seconden update.
Je moet iets vinden dat óf ingebouwd is in Conky, dat is het snelste en makkelijkste, óf een commando dat na het uitvoeren 1x data teruggeeft en dan afsluit.
Ik denk dat je het beste even rond kan kijken in dit topic: http://ubuntuforums.org/showthread.php?t=281865

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #393 Gepost op: 2011/01/12, 22:29:16 »
Ik denk dat je het beste even rond kan kijken in dit topic: http://ubuntuforums.org/showthread.php?t=281865
Dat is de beste bron voor alles wat met Conky te maken heeft!


-=[ Not all those who wander are lost ]=-

Offline TopGear

  • Forumteam
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #394 Gepost op: 2011/01/25, 17:12:44 »
Een verzoekje (zie show je desktop voor afb.):

# UBUNTU-CONKY
# conky configuration

background no
use_xft yes
xftfont Terminus:size=8
out_to_console no
update_interval 1.0
total_run_times 0
own_window override
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 12
border_width 1
default_color black
default_shade_color black
default_outline_color white
alignment middle_right
maximum_width 270
own_window yes
own_window_type right
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
gap_x 15
gap_y 35
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer yes

TEXT
${color orange}SYSTEEM ${hr 2}$color
${font StyleBats:size=16}l ${font}${color black}Hostname: $nodename
${font StyleBats:size=16}i ${font}${color black}Kernel: $kernel
${font StyleBats:size=16}q ${font}${color black}Uptime: $uptime

${color orange}PROCESSOR${hr 2}$color
${color black}Kern 1 @ ${freq 1}Mhz:  ${cpu cpu1}% ${cpubar cpu1}
${color black}Kern 2 @ ${freq 2}Mhz:  ${cpu cpu2}% ${cpubar cpu2}
${color black}Kern 3 @ ${freq 3}Mhz:  ${cpu cpu3}% ${cpubar cpu3}
${color black}Kern 4 @ ${freq 4}Mhz:  ${cpu cpu4}% ${cpubar cpu4}

Gemiddelde: $cpu% $cpubar
$cpugraph       

${color orange}Hoogste processor verbruikers:
${color black} ${top name 1}$alignr${top cpu 1}%
${color black} ${top name 2}$alignr${top cpu 2}%
${color black} ${top name 3}$alignr${top cpu 3}%

${color orange}GEHEUGEN${hr 2}$color
${color black}RAM:       $mem/$memmax
$memperc% ${membar}
Swap:      $swap/$swapmax
$swapperc% ${swapbar}
Processen: $processes | Running: $running_processes     

${color orange}Hoogste RAM verbuikers:
${color black} ${top_mem name 1}$alignr${top_mem mem 1}%
${color black} ${top_mem name 2}$alignr${top_mem mem 2}%
${color black} ${top_mem name 3}$alignr${top_mem mem 3}%

${color orange}NETWERK ${hr 2}$color
${color orange}IP adres: ${color black}${addr eth0}
${color black}Op: ${color black}${upspeed eth0}
${upspeedgraph eth0 20,160 ddaa00 ddaa00}
${color black}Neer: ${color black}${downspeed eth0}${color black}
${downspeedgraph eth0 20,160 ddaa00 ddaa00}

${color orange}HARDESCHIJF ${hr 2}$color
${color black}Ubuntu:    ${fs_used /}/${fs_size /}
${color black}${fs_used_perc /}% ${fs_bar /}
${color black}Windows:        ${fs_used /media/406AEBDD6AEBCE2A}/${fs_size /media/406AEBDD6AEBCE2A}
${color black}${fs_used_perc /media/406AEBDD6AEBCE2A}% ${fs_bar /media/406AEBDD6AEBCE2A}
${color black}Mac:    ${fs_used /media/10.6.4}/${fs_size /media/10.6.4}
${color black}${fs_used_perc /media/10.6.4}% ${fs_bar /media/10.6.4}
${color black}Backup&school:    ${fs_used /media/Backup&School}/${fs_size /media/Backup&School}
${color black}${fs_used_perc /media/Backup&School}% ${fs_bar /media/Backup&School}
${color black}Nieuwsgroepen:    ${fs_used /media/Nieuwsgroepen}/${fs_size /media/Nieuwsgroepen}
${color black}${fs_used_perc /media/Nieuwsgroepen}% ${fs_bar /media/Nieuwsgroepen}

${color orange}TEMPERATUREN ${hr 2}$color
${color orange}Hardeschijven ${hr 1}$color
${color black}Ubuntu:$alignr${hddtemp /dev/sda}°C
${color black}Windows:$alignr              ${hddtemp /dev/sdb}°C
${color black}Mac:$alignr${hddtemp /dev/sdc}°C
${color black}Backup/school/nieuwsgroepen:    $alignr                 ${hddtemp /dev/sdd}°C       
${color orange}Videokaart ${hr 1}$color
${color black}Videokaart: ${color}$alignr        ${color black}$alignr${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}°C
#${color orange}Processor ${hr 1}$color
#${color black}Processor: ${execpi 5 sensors | grep temp1 | cut -c16-17}  °C

Offline elendil

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #395 Gepost op: 2011/01/25, 17:26:49 »
TopGear, een verzoekje tot wat?


-=[ Not all those who wander are lost ]=-

Offline TopGear

  • Forumteam
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #396 Gepost op: 2011/01/25, 17:27:42 »
Mijn conky.
Hoe krijg je conky zo mooi dat wil ik ook :D

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #397 Gepost op: 2011/01/25, 18:52:44 »
Hallo topgear,

Ik heb het script gekopieerd en aangepast alles werkt behalve Videokaart en Temperatuur zou je me kunnen uitleggen hoe ik dit configureer?
Meer weten over Ubuntu? Bezoek mijn site dan eens:
Simpelbuntu


Offline TopGear

  • Forumteam
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #398 Gepost op: 2011/01/25, 19:16:38 »
Wat voor een merk videokaart heb je?
Ikzelf heb een nVidia XFX GTS 250. Met de restricted drivers in gebruik

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #399 Gepost op: 2011/01/26, 10:38:30 »
Ik gebruik een EAH4550 van asus (HD4550)

Meer weten over Ubuntu? Bezoek mijn site dan eens:
Simpelbuntu