View previous topic :: View next topic |
Author |
Message |
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Sun Dec 18, 2005 4:35 am Post subject: conky question |
|
|
I cant for the life of me find in the documentation how to turn certain conky monitors off. All I want is the top output, filesystem monitor, ram and swap monitors. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Sun Dec 18, 2005 5:55 am Post subject: |
|
|
thank you. Two more -- I dont see any examples for multiprocessor machines. Is there any way to adjust a transparent conky "brightness" (eterm option) so that there is a little contrast? Makes it easier to see where letters in the conky are similar in color to the background... |
|
Back to top |
|
|
5a\/ag3 Apprentice
Joined: 08 Aug 2003 Posts: 175 Location: Spruce Grove Alberta, Canada
|
Posted: Sun Dec 18, 2005 3:59 pm Post subject: conky |
|
|
For Multi processor machines what I have found is that there is one bar. However with my box (Dual Intel Xeon) I have four threads the bar if One proc is being used it will say that it is at 25% usage and so on. I too would like to see conky display the processor usage like what gkrellm does. _________________ Yeah... I got nothin for this field! |
|
Back to top |
|
|
01mf02 Veteran
Joined: 21 Nov 2004 Posts: 1070 Location: Innsbruck, Austria
|
Posted: Sun Dec 18, 2005 6:47 pm Post subject: |
|
|
I KNEW that a thread called "Conky question" would include the question of the transparency
Unfortunately, this transparency thingy isn't integrated in Conky (yet?), but there is a workaround: You have to draw something on the wallpaper, so that it looks like Conky had transparency implemented.
My shell script that automates this (needs ImageMagick):
Code: |
#!/bin/sh
if [ ! -z "$2" ]
then
echo "New wallpaper: $1"
echo "New wallpaper archived to: $2"
else
echo "Usage: `basename $0` new_wallpaper.jpg new_wallpaper_archive.jpg"
exit 1
fi
# --------------------------------------------------
# Notice that you probably have to adjust the numbers to the rectangle option!!
# --------------------------------------------------
convert -fill 'rgba(0,0,0,30000)' -draw 'rectangle 690,12 1012,480' $1 wallpaper.jpg
mv $1 $2
|
When you want to make an image called "super_wallpaper.jpg" to be your new wallpaper, you have to enter something like:
./set_wallpaper.sh super_wallpaper.jpg old_bgs/that_was_super_wallpaper.jpg
This will save the prepared image to wallpaper.jpg.
Hope this helps! |
|
Back to top |
|
|
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Sun Dec 18, 2005 8:41 pm Post subject: |
|
|
reading thru the documentation, it does seem that there is SMP support. I have a hyperthreading processor, which provides logical processors as opposed to real. Conky does not seem to handle the hyperthreaded processors. Gkrellm can. I wonder if we need to make a feature request.... |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sun Dec 18, 2005 8:41 pm Post subject: |
|
|
shrndegruv wrote: | thank you. Two more -- I dont see any examples for multiprocessor machines. Is there any way to adjust a transparent conky "brightness" (eterm option) so that there is a little contrast? Makes it easier to see where letters in the conky are similar in color to the background... |
According to http://conky.sourceforge.net/docs.html, if you want to monitor the usage of individual processors refer to cpu0 for the overall system cpu usage percentage and cpu1 and greater for individual cpu stats.
I see no references to adjusting the brightness. If you do not want to do as 01mf02 suggests, it looks like you are stuck playing with your colors. |
|
Back to top |
|
|
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Sun Dec 18, 2005 10:33 pm Post subject: |
|
|
right i tried cpu1 and cpu2, but instead of giving me a percent they just gave me {cpu1} and {cpu2}. I dont know think it supports logical processors in a hyperthreaded processor. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Mon Dec 19, 2005 12:12 am Post subject: |
|
|
Are you using an SMP kernel? |
|
Back to top |
|
|
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Mon Dec 19, 2005 4:57 am Post subject: |
|
|
whatever gentoo gave me on install. gkrellm2 sees 2 processors |
|
Back to top |
|
|
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Mon Dec 19, 2005 5:01 am Post subject: |
|
|
whatever gentoo gave me on install. gkrellm2 sees 2 processors |
|
Back to top |
|
|
brenden l33t
Joined: 09 Mar 2004 Posts: 710 Location: Calgary, AB
|
Posted: Mon Dec 19, 2005 5:13 am Post subject: |
|
|
example for cpu usage on smp:
Code: | Overall ${cpu}%
CPU 1 ${cpubar cpu1}
CPU 2 ${cpubar cpu2} |
|
|
Back to top |
|
|
|