6 999
contributi
(Nuova pagina: {{Sommario|titolo=Superkaramba|contenuto= #Introduzione #Versione Desktop #Versione Notebook }} ==Il nostro primo t...) |
S3v (discussione | contributi) mNessun oggetto della modifica |
||
(12 versioni intermedie di 3 utenti non mostrate) | |||
Riga 1: | Riga 1: | ||
{{ | {{Superkaramba}} | ||
}} | |||
==Il nostro primo tema== | ==Il nostro primo tema== | ||
Riga 20: | Riga 15: | ||
===Informazioni generali=== | ===Informazioni generali=== | ||
Cominciamo a inserire le righe che ci forniranno le impostazioni generali del sistema : | Cominciamo a inserire le righe che ci forniranno le impostazioni generali del sistema: | ||
<pre> | <pre> | ||
# General System info: | # General System info: | ||
Riga 30: | Riga 25: | ||
text x=119 y=44 sensor=program program="cat /etc/debian_version" | text x=119 y=44 sensor=program program="cat /etc/debian_version" | ||
text x=79 y=58 value="KDE Version:" | text x=79 y=58 value="KDE Version:" | ||
text x=148 y=58 sensor=program program="kde4-config --version | grep KDE | sed -e 's/.*: / | text x=148 y=58 sensor=program program="kde4-config --version | grep KDE | sed -e 's/.*: //' | sed -e 's/(KDE .*)//'" | ||
/' | sed -e 's/(KDE .*)//'" | |||
text x=79 y=72 value="Uptime:" | text x=79 y=72 value="Uptime:" | ||
text x=120 y=72 sensor=uptime format="%dd : %Hh : %Mm" interval=300000 | text x=120 y=72 sensor=uptime format="%dd : %Hh : %Mm" interval=300000 | ||
Riga 52: | Riga 46: | ||
image x=20 y=32 path="image/cpu1.png" | image x=20 y=32 path="image/cpu1.png" | ||
# | # | ||
text x= | text x=14 y=30 sensor=program program="cat /proc/cpuinfo |grep 'model name'|cut -c 14-36" fontsize=9 | ||
text x=63 y=43 value="Usage :" | text x=63 y=43 value="Usage :" | ||
text x=63 y=53 value="User :" | text x=63 y=53 value="User :" | ||
Riga 65: | Riga 59: | ||
image x=143 y=35 path="image/fcpu2.png" | image x=143 y=35 path="image/fcpu2.png" | ||
# | # | ||
text x=60 y=75 value=" MHz :" | text x=60 y=75 value="MHz :" | ||
text x=108 y=75 sensor=program program="lscpu |grep MHz |cut -c 24-27" interval=300000 | text x=108 y=75 sensor=program program="lscpu |grep MHz |cut -c 24-27" interval=300000 | ||
</group></pre> | </group></pre> | ||
Riga 83: | Riga 77: | ||
# | # | ||
text x=69 y=21 value="CPU :" | text x=69 y=21 value="CPU :" | ||
text x=108 y=21 sensor=program program="sensors -u | grep temp1_input | sed -e 's/.*: //'|cut -c 1-2" line=1 | text x=108 y=21 sensor=program program="sensors -u | grep temp1_input | sed -e 's/.*: //'|cut -c 1-2" line=1 interval=2000 align=left | ||
text x=121 y=21 value=" °C" | text x=121 y=21 value=" °C" | ||
bar x=145 y=24 path="image/bgs80.png" min=35 max=70 sensor=program program="sensors -u | grep | bar x=145 y=24 path="image/bgs80.png" min=35 max=70 sensor=program program="sensors -u | grep temp1_input | sed -e 's/.*: //'|cut -c 1-2" line=1 interval=2000 | ||
image x=145 y=24 path="image/bg80.png" | image x=145 y=24 path="image/bg80.png" | ||
# | # | ||
text x=69 y=35 value="CPU Fan:" | text x=69 y=35 value="CPU Fan:" | ||
#questa riga restituisce l'output reale della ventola | #questa riga restituisce l'output reale della ventola | ||
#text x=125 y=35 sensor=program program="sensors -u | grep fan1_input | sed -e 's/.*: //'" line=1 | #text x=125 y=35 sensor=program program="sensors -u | grep fan1_input | sed -e 's/.*: //'" line=1 interval=1000 align=left | ||
# questa sotto da me modificata restituisce un'output dimezzato, perchè la mia ventola con potenziometro viene riconosciuta | |||
# questa sotto da me modificata restituisce un'output dimezzato, perchè la mia ventola con | |||
potenziometro viene riconosciuta | |||
#al doppio dei giri reali . | #al doppio dei giri reali . | ||
text x=125 y=35 sensor=program program="sensors -c /dev/null | awk '/fan1:/ { | text x=125 y=35 sensor=program program="sensors -c /dev/null | awk '/fan1:/ {print $2/2}'|cut -c 1-4 " line=1 interval=2000 align=left | ||
text x=152 y=35 value=" rpm" | text x=152 y=35 value=" rpm" | ||
# | # | ||
text x=69 y=49 value="Nvidia :" | text x=69 y=49 value="Nvidia :" | ||
text x=108 y=49 sensor=program program="nvidia-settings -q GPUCoreTemp | | text x=108 y=49 sensor=program program="nvidia-settings -q GPUCoreTemp | grep 0.0 | sed -e 's/.*: //'| cut -c 1-2" line=1 interval=2000 align=left | ||
text x=121 y=49 value=" °C" | text x=121 y=49 value=" °C" | ||
bar x=145 y=52 path="image/bgs80.png" min=35 max=70 sensor=program program="nvidia-settings -q GPUCoreTemp | | bar x=145 y=52 path="image/bgs80.png" min=35 max=70 sensor=program program="nvidia-settings -q GPUCoreTemp | grep 0.0 | sed -e 's/.*: //'| cut -c 1-2" line=1 interval=2000 | ||
image x=145 y=52 path="image/bg80.png" | image x=145 y=52 path="image/bg80.png" | ||
# | # | ||
Riga 125: | Riga 111: | ||
# | # | ||
text x=70 y=19 value="Local IP:" | text x=70 y=19 value="Local IP:" | ||
text x=145 y=19 sensor=program program="/sbin/ifconfig eth1 | grep 'inet ' | cut -d : -f2 | | text x=145 y=19 sensor=program program="/sbin/ifconfig eth1 | grep 'inet ' | cut -d : -f2 | cut -d ' ' -f1" interval=300000 | ||
# | # | ||
text x=70 y=36 value="External IP:" | text x=70 y=36 value="External IP:" | ||
text x=145 y=36 sensor=program program="rm -rf .jftgwh ; mkdir .jftgwh ; cd .jftgwh ; wget http://checkip. | text x=145 y=36 sensor=program program="rm -rf .jftgwh ; mkdir .jftgwh ; cd .jftgwh ; wget http://checkip.dyndns.org/index.html && cat index.html | cut -d ' ' -f 6 | cut -d '<' -f 1 ; cd .. ; rm -rf .jftgwh" align=left interval=300000 | ||
#avendo w3m installato è possibile usare w3m -no-cookie -dump http://ifconfig.me/ip per ottenere l'IP | |||
# Speeds | # Speeds | ||
text x=40 y=57 value="Download:" | text x=40 y=57 value="Download:" | ||
text x=100 y=57 sensor=network device="eth1" format="%in KB/s" interval=2000 decimals=2 color=1,247,1 | text x=100 y=57 sensor=network device="eth1" format="%in KB/s" interval=2000 decimals=2 color=1,247,1 | ||
text x=160 y=57 color=1,247,1 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{ | text x=160 y=57 color=1,247,1 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{print $3 $4}'" interval=5000 | ||
# | # | ||
text x=40 y=72 value="Upload:" | text x=40 y=72 value="Upload:" | ||
text x=100 y=72 sensor=network device="eth1" format="%out KB/s" interval=2000 decimals=2 color=240,90,90 | text x=100 y=72 sensor=network device="eth1" format="%out KB/s" interval=2000 decimals=2 color=240,90,90 | ||
text x=160 y=72 color=240,90,90 sensor=program program="/sbin/ifconfig eth1 | grep ' | text x=160 y=72 color=240,90,90 sensor=program program="/sbin/ifconfig eth1 | grep 'TX byte' | awk '{print $7 $8}'" interval=5000 | ||
</group></pre> | </group></pre> | ||
Riga 167: | Riga 149: | ||
# | # | ||
text x=79 y=57 value="USED:" | text x=79 y=57 value="USED:" | ||
text x=180 y=57 sensor=memory format="%um / %tm MB" interval=3000 align=center | text x=180 y=57 sensor=memory format="%um / %tm MB" interval=3000 align=center | ||
bar x=72 y=71 path="image/barload.png" sensor=memory format="%um" interval=8000 | bar x=72 y=71 path="image/barload.png" sensor=memory format="%um" interval=8000 | ||
Riga 187: | Riga 168: | ||
<group> x=0 y=380 | <group> x=0 y=380 | ||
text x=30 y=70 value="sda:" | text x=30 y=70 value="sda:" | ||
text x=30 y=80 sensor=program program="hddtemp /dev/sda | grep °C | sed -e 's/.*: //'" line=1 | text x=30 y=80 sensor=program program="hddtemp /dev/sda | grep °C | sed -e 's/.*: //'" line=1 interval=5000 align=left | ||
# | # | ||
text x=30 y=100 value="sdb:" | text x=30 y=100 value="sdb:" | ||
text x=30 y=110 sensor=program program="hddtemp /dev/sdb | grep °C | sed -e 's/.*: //'" line=1 | text x=30 y=110 sensor=program program="hddtemp /dev/sdb | grep °C | sed -e 's/.*: //'" line=1 interval=5000 align=left | ||
# | # | ||
</group></pre> | </group></pre> | ||
Riga 231: | Riga 210: | ||
[http://dl.dropbox.com/u/3251342/karamba/mm_monitor_v1.0.tar.gz Download mm_monitor_v1.0.tar.gz] | [http://dl.dropbox.com/u/3251342/karamba/mm_monitor_v1.0.tar.gz Download mm_monitor_v1.0.tar.gz] | ||
[[Categoria:KDE]] | |||
[[Categoria: | |||
contributi