Superkaramba desktop: differenze tra le versioni

m
nessun oggetto della modifica
Nessun oggetto della modifica
mNessun oggetto della modifica
 
(11 versioni intermedie di 3 utenti non mostrate)
Riga 1: Riga 1:
{{Sommario|titolo=Superkaramba|contenuto=
{{Superkaramba}}
#[[Superkaramba|Introduzione]]
#[[Superkaramba_desktop|Versione Desktop]]
#[[Superkaramba_notebook|Versione Notebook]]
}}
 
==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=62 y=30 value="AthlonXP 3000+" fontsize=9
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 int
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
erval=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 te
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
mp1_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 int
#text x=125 y=35 sensor=program program="sensors -u | grep fan1_input | sed -e 's/.*: //'" line=1 interval=1000 align=left  
erval=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:/ {pri
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  
nt $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 | gr
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  
ep 0.0 | sed -e 's/.*: //'| cut -c 1-2" line=1 int
erval=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 | gre
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
p 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 | cu
text x=145 y=19 sensor=program program="/sbin/ifconfig eth1 | grep 'inet ' | cut -d : -f2 | cut -d ' ' -f1" interval=300000  
t -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.dyn
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
dns.org/index.html && cat index.html | cut -d ' ' -f 6 | cut -d '<' -f 1 ; cd .. ; rm -rf .jftgwh" al
#avendo w3m installato è possibile usare w3m -no-cookie -dump http://ifconfig.me/ip per ottenere l'IP
ign=left interval=300000  
# 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 '{pri
text x=160 y=57 color=1,247,1 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{print $3 $4}'" interval=5000  
nt $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 'RX byte' | awk '{pri
text x=160 y=72 color=240,90,90 sensor=program program="/sbin/ifconfig eth1 | grep 'TX byte' | awk '{print $7 $8}'" interval=5000  
nt $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=188 y=57 sensor=memory format="%us of %ts MB" align=center
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 int
text x=30 y=80 sensor=program program="hddtemp /dev/sda | grep °C | sed -e 's/.*: //'" line=1 interval=5000 align=left  
erval=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 int
text x=30 y=110 sensor=program program="hddtemp /dev/sdb | grep °C | sed -e 's/.*: //'" line=1 interval=5000 align=left  
erval=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]]
--[[Utente:Mm-barabba|Mm-barabba]] 16:31, 16 gen 2011 (CET)
6 999

contributi