mowdy Skrevet 15. november 2008 Del Skrevet 15. november 2008 (endret) halloen holder på med å sette opp conky har fått et bra oppsett til no men får ikkje til gpu,cpu og mb temp. får opp temp med commandoen sensors i terminalen: w83627thf-isa-0290 Adapter: ISA adapter VCore: +1.38 V (min = +0.00 V, max = +3.84 V) +12V: +11.86 V (min = +9.12 V, max = +9.85 V) +3.3V: +3.22 V (min = +0.03 V, max = +0.05 V) +5V: +4.91 V (min = +0.85 V, max = +5.20 V) -12V: +3.43 V (min = -9.32 V, max = -14.25 V) V5SB: +5.03 V (min = +1.08 V, max = +1.80 V) VBat: +0.13 V (min = +2.11 V, max = +0.27 V) fan1: 1962 RPM (min = 48214 RPM, div = 4) CPU Fan: 4891 RPM (min = 84375 RPM, div = 2) fan3: 0 RPM (min = 1171 RPM, div = 128) M/B Temp: +28.0°C (high = +17.0°C, hyst = +0.0°C) sensor = thermistor CPU Temp: +52.0°C (high = +80.0°C, hyst = +75.0°C) sensor = diode temp3: -48.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor cpu0_vid: +1.363 V beep_enable:enabled men kordan får eg di over til conky? kan legge til .conkyrc hvis det hjelper. # UBUNTU-CONKY # A comprehensive conky script, configured for use on # Ubuntu / Debian Gnome, without the need for any external scripts. # # Based on conky-jc and the default .conkyrc. # INCLUDES: # - tail of /var/log/messages # - netstat connections to your computer # # -- Pengo ([email protected]) # # Possible variables to be used: # # Variable Arguments Description # addr (interface) IP address for an interface # acpiacadapter ACPI ac adapter state. # acpifan ACPI fan state # acpitemp ACPI temperature. # adt746xcpu CPU temperature from therm_adt746x # adt746xfan Fan speed from therm_adt746x # alignr (num) Right-justify text, with space of N # alignc Align text to centre # battery (num) Remaining capasity in ACPI or APM # battery. ACPI battery number can be # given as argument (default is BAT0). # buffers Amount of memory buffered # cached Amount of memory cached # color (color) Change drawing color to color # cpu CPU usage in percents # cpubar (height) Bar that shows CPU usage, height is # bar's height in pixels # cpugraph (height),(width) (gradient colour 1) (gradient colour 2) # CPU usage graph, with optional colours in hex, # minus the #. # downspeed net Download speed in kilobytes # downspeedf net Download speed in kilobytes with one # decimal # downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2) # Download speed graph, colours defined in # hex, minus the #. # exec shell command Executes a shell command and displays # the output in conky. warning: this # takes a lot more resources than other # variables. I'd recommend coding wanted # behaviour in C and posting a patch :-). # execbar shell command Same as exec, except if the first value # return is a value between 0-100, it # will use that number for a bar. # The size for the bar is currently fixed, # but that may change in the future. # execgraph shell command Same as execbar, but graphs values # execi interval, shell command # Same as exec but with specific interval. # Interval can't be less than # update_interval in configuration. # font font Specify a different font. Only applies # to one line. # fs_bar (height), (fs)Bar that shows how much space is used on # a file system. height is the height in # pixels. fs is any file on that file # system. # fs_free (fs) Free space on a file system available # for users. # fs_free_perc (fs) Free percentage of space on a file # system available for users. # fs_size (fs) File system size # fs_used (fs) File system used space # hr (height) Horizontal line, height is the height in # pixels # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev # may be omitted if you have only one I2C # device. type is either in (or vol) # meaning voltage, fan meaning fan or # temp/tempf (first in C, second in F) # meaning temperature. n is number of the # sensor. See /sys/bus/i2c/devices/ on # your local computer. # if_running (process) if PROCESS is running, display # everything if_running and the matching $endif # if_existing (file) if FILE exists, display everything between # if_existing and the matching $endif # if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between # if_mounted and the matching $endif # else Text to show if any of the above are not true # kernel Kernel version # linkstatus (interface) Get the link status for wireless connections # loadavg (1), (2), (3) System load average, 1 is for past 1 # minute, 2 for past 5 minutes and 3 for # past 15 minutes. # machine Machine, i686 for example # mails Mail count in mail spool. You can use # program like fetchmail to get mails from # some server using your favourite # protocol. See also new_mails. # mem Amount of memory in use # membar (height) Bar that shows amount of memory in use # memmax Total amount of memory # memperc Percentage of memory in use # # metar_ob_time # metar_temp # metar_tempf Temp in F # metar_windchill # metar_dew_point There are a bunch of these # metar_rh and they are self-explanatory # metar_windspeed # metar_winddir # metar_swinddir # metar_cloud # metar_u2d_time # # ml_upload_counter total session upload in mb # ml_download_counter total session download in mb # ml_nshared_files number of shared files # ml_shared_counter total session shared in mb, buggy # in some mldonkey versions # ml_tcp_upload_rate tcp upload rate in kb/s # ml_tcp_download_rate tcp download rate in kb/s # ml_udp_upload_rate udp upload rate in kb/s # ml_udp_download_rate udp download rate in kb/s # ml_ndownloaded_files number of completed files # ml_ndownloading_files number of downloading files # # mpd_artist Artist in current MPD song # (must be enabled at compile) # mpd_album Album in current MPD song # mpd_bar (height) Bar of mpd's progress # mpd_bitrate Bitrate of current song # mpd_status Playing, stopped, et cetera. # mpd_title Title of current MPD song # mpd_vol MPD's volume # mpd_elapsed Song's elapsed time # mpd_length Song's length # mpd_percent Percent of song's progress # new_mails Unread mail count in mail spool. # nodename Hostname # outlinecolor (color) Change outline color # pre_exec shell command Executes a shell command one time before # conky displays anything and puts output # as text. # processes Total processes (sleeping and running) # running_processes Running processes (not sleeping), # requires Linux 2.6 # shadecolor (color) Change shading color # stippled_hr (space), Stippled (dashed) horizontal line # (height) # swapbar (height) Bar that shows amount of swap in use # swap Amount of swap in use # swapmax Total amount of swap # swapperc Percentage of swap in use # sysname System name, Linux for example # offset pixels Move text over by N pixels # tail logfile, lines (interval) # Displays last N lines of supplied text # text file. If interval is not supplied, # Conky assumes 2x Conky's interval. # Max of 30 lines. # Max of 30 lines can be displayed. # time (format) Local time, see man strftime to get more # information about format # totaldown net Total download, overflows at 4 GB on # Linux with 32-bit arch and there doesn't # seem to be a way to know how many times # it has already done that before conky # has started. # top type, num This takes arguments in the form: # top <name> <number> # Basically, processes are ranked from # highest to lowest in terms of cpu # usage, which is what <num> represents. # The types are: "name", "pid", "cpu", and # "mem". # There can be a max of 10 processes listed. # top_mem type, num Same as top, except sorted by mem usage # instead of cpu # totalup net Total upload, this one too, may overflow # updates Number of updates (for debugging) # upspeed net Upload speed in kilobytes # upspeedf net Upload speed in kilobytes with one # decimal # upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2) # Upload speed graph, colours defined in # hex, minus the #. # uptime Uptime # uptime_short Uptime in a shorter format # # seti_prog Seti@home current progress # seti_progbar (height) Seti@home current progress bar # seti_credit Seti@hoome total user credit # variable is given either in format $variable or in ${variable}. Latter # allows characters right after the variable and must be used in network # stuff because of an argument #If you want wireless net work add this:(remove the #) #${color #ffccaa}Wireless Network: #${color #888888}ip address: ${color #CCCCCC}${addr wlan0} #${color #888888}essid: $color${execi 5 iwconfig wlan0 | sed 's/ /\n/g' | grep ESSID | sed 's/ESSID:"//'| sed 's/"//'} #${color #888888}link status: $color${execi 2 iwconfig wlan0 | sed 's/ /\n/g' | grep Quality | sed 's/Link Quality://' | sed 's/Link Quality=//' | sed 's/ //g' } ${color #C2C3F3}s: $color${execi 5 iwconfig wlan0 | sed 's/ /\n/g' | grep Signal | sed 's/Signal level=//' | sed 's/Signal level://' } #${color #888888}total download: ${color #CCCCCC}${totaldown wlan0} #${color #888888}download speed: ${color #CCCCCC}${downspeed wlan0} k/s #${color #888888}${downspeedgraph wlan0 25,100 ff0000 0000ff} #${color #888888}total upload: ${color #CCCCCC}${totalup wlan0} #${color #888888}upload speed: ${color #CCCCCC}${upspeed wlan0} k/s #${color #888888}${upspeedgraph wlan0 25,100 0000ff ff0000} #${color white}${hr 1} # Create own window instead of using desktop (required in nautilus) own_window yes own_window_hints undecorated,below,skip_taskbar background no # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # fiddle with window use_spacer yes use_xft yes # Update interval in seconds update_interval 1.0 # Minimum size of text area minimum_size 400 5 # Draw shades? draw_shades yes # Text stuff draw_outline no # amplifies text if yes draw_borders no uppercase no # set to yes if you want all text to be in uppercase # Stippled borders? stippled_borders 8 # border margins border_margin 4 # border width border_width 1 # Default colors and also border colors, grey90 == #e5e5e5 default_color white default_shade_color black default_outline_color white own_window_colour black own_window_transparent yes # 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 10 gap_y 10 # stuff after 'TEXT' will be formatted on screen # Force UTF8? note that UTF8 support required XFT override_utf8_locale yes xftfont Terminus:size=8 xftalpha 0.8 TEXT ${offset 240}${color green}${time %a, } ${color }${time %e %B %G} ${offset 240}${color green}${time %Z, }${color }${time %H:%M:%S} ${offset 240}${color green}UpTime: ${color }$uptime ${offset 240}${color green}Kern:${color }$kernel ${offset 240}${color green}CPU: ${color #CCCCCC}${freq cpu0} MHz ${offset 240}${color green}CPU total load:${color } $cpu% ${offset 240}${color green}Load CPU 1: ${color #CCCCCC}${cpu cpu0}% ${offset 240}${color green}Load CPU 2: ${color #CCCCCC}${cpu cpu1}% ${offset 240}${color green}CPU Temp:${color } ${acpitemp}C ${offset 240}${cpugraph 20,130 000000 ffffff} ${offset 240}${color green}Load: ${color }$loadavg ${offset 240}${color green}Processes: ${color }$processes ${offset 240}${color green}Running: ${color }$running_processes ${offset 240}${color green}Hard Drive Temp ${offset 240}${color green}sda Temp:${hddtemp /dev/sda} ${offset 240}${color green}sdb Temp:${hddtemp /dev/sdb} ${offset 240}${color green}sdc Temp:${hddtemp /dev/sdc} ${offset 240}${color green}Highest CPU: ${offset 240}${color red} ${top name 1}${top_mem cpu 1} ${offset 240}${color lightgrey} ${top name 2}${top cpu 2} ${offset 240}${color lightgrey} ${top name 3}${top cpu 3} ${offset 240}${color lightgrey} ${top name 4}${top cpu 4} ${offset 240}${color green}Highest MEM: ${offset 240}${color red} ${top_mem name 1}${top_mem mem 1} ${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2} ${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3} ${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4} ${offset 240}${color green}MEM: ${color } $memperc% $mem/$memmax ${offset 240}${membar 3,100} ${offset 240}${color green}SWAP: ${color }$swapperc% $swap/$swapmax ${offset 240}${swapbar 3,100} ${offset 240}${color green}ROOT: ${color }${fs_free /}/${fs_size /} ${offset 240}${fs_bar 3,100 /} ${offset 240}${color green}HOME: ${color }${fs_free /home}/${fs_size /home} ${offset 240}${fs_bar 3,100 /home} ${offset 240}${color green}NET: ${offset 240}${color}Up: ${color }${upspeed eth0} k/s ${offset 240}${upspeedgraph eth0 20,130 000000 ffffff} ${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color} ${offset 240}${downspeedgraph eth0 20,130 000000 ffffff} ${offset 240}${color green}File System ${offset 240}${color green}$fs_type Hadde vert supert vist noen er kunne hjulpet meg med dette. Endret 16. november 2008 av mowdy Lenke til kommentar
Goophy Skrevet 15. november 2008 Del Skrevet 15. november 2008 Hva med å bare gjøre det enkelt og kjøre exec på sensors og grep CPU Temp? Eventuelt kan du bruke i2c-variabelen hvis sensorene dine støtter slikt. Gir acpi -t deg noe output? Lenke til kommentar
mowdy Skrevet 15. november 2008 Forfatter Del Skrevet 15. november 2008 Hva med å bare gjøre det enkelt og kjøre exec på sensors og grep CPU Temp?Eventuelt kan du bruke i2c-variabelen hvis sensorene dine støtter slikt. Gir acpi -t deg noe output? nei dårlig med det: acpi -t No support for device type: thermal men skal prøve det med exec så for se om eg får det til Lenke til kommentar
mowdy Skrevet 15. november 2008 Forfatter Del Skrevet 15. november 2008 ok no la eg til: ${offset 240}${exec sensors} men då får eg jo opp hele listen,skal bare ha mb og cpu temp og får ikkje til det med grep. kan du hjelpe meg med den? Lenke til kommentar
Goophy Skrevet 15. november 2008 Del Skrevet 15. november 2008 (endret) ${exec sensors | grep 'CPU Temp'} Eller bare Temp om du vil ha med begge, så kan du bruke sed, awk eller hva du enn liker best for regexp om du vil fjerne uønsket tekst. Endret 15. november 2008 av Goophy Lenke til kommentar
mowdy Skrevet 15. november 2008 Forfatter Del Skrevet 15. november 2008 Ok takk for hjelpen Lenke til kommentar
mowdy Skrevet 16. november 2008 Forfatter Del Skrevet 16. november 2008 (endret) må bare legge til at det var mye lettere med comandoen cut,sikkert for eg aldri har brukt dei 2 andre då men men.sånn blei det ${offset 240}${color green}CPU Temp: ${color #CCCCCC}${exec sensors | grep 'CPU Temp' | cut -c14-21} ${offset 240}${color green}M/B Temp: ${color #CCCCCC}${exec sensors | grep 'M/B Temp' | cut -c14-21} Men en ting eg glemte var jo GPU tempen. noen som kan hjelpe med den? Er forresten nvidia 6800GT Endret 16. november 2008 av mowdy Lenke til kommentar
Goophy Skrevet 16. november 2008 Del Skrevet 16. november 2008 nvclock -i | grep GPU Lenke til kommentar
mowdy Skrevet 16. november 2008 Forfatter Del Skrevet 16. november 2008 nvclock -i | grep GPU Konge! Då var alt på plass Lenke til kommentar
Anbefalte innlegg
Opprett en konto eller logg inn for å kommentere
Du må være et medlem for å kunne skrive en kommentar
Opprett konto
Det er enkelt å melde seg inn for å starte en ny konto!
Start en kontoLogg inn
Har du allerede en konto? Logg inn her.
Logg inn nå