#Shadow Monitor # #The work is not mine just re-arranging stuff to suit me. # #Done by andykriss #general KARAMBA x=500 y=350 w=272 h=450 interval=500 lock=false image x=0 y=0 path="images/bg.png" name="background" image x=-2 y=0 path="images/sh.png" #Icons image x=10 y=10 path="images/comp.png" image x=10 y=80 path="images/intel.png" image x=10 y=140 path="images/memory.png" image x=10 y=220 path="images/hdd_linux_mount.png" image x=10 y=300 path="images/network.png" image x=10 y=380 path="images/image1.png" image x=75 y=100 path="images/bg_cpu_1.png" #Computer text x=80 y=20 sensor=program program="echo Kernel: `uname -r -m`" fontsize=13 color=100,255,100 shadow=1 text x=105 y=35 sensor=program program="echo Kde: `kde-config --version | grep KDE | sed -e 's/.*: //'`" fontsize=13 color=100,255,100 shadow=1 #Cpu text x=73 y=70 sensor=program program="cat /proc/cpuinfo | grep 'model name' | sed -e 's/.*: //'" color=255,200,0 shadow=1 fontsize=12 text x=75 y=83 value="Speed:" shadow=1 color=255,200,0 fontsize=13 text x=125 y=83 sensor=program program="cat /proc/cpuinfo | grep 'cpu MHz' | sed -e 's/.*: //'| sed -e 's/\..../MHz/'" shadow=1 fontsize=13 graph x=80 y=100 w=145 h=19 points=80 sensor=cpu format="%v" cpu=0 color=100,255,100 text x=228 y=95 sensor=cpu cpu=0 format="%v%" color=100,255,100 fontsize=13 shadow=1 graph x=80 y=98 w=145 h=19 points=80 sensor=cpu format="%v" cpu=1 color=255,10,10 text x=228 y=108 sensor=cpu cpu=1 format="%v%" color=255,10,10 fontsize=13 shadow=1 #Memory text x=80 y=160 value="Total:" color=255,200,0 fontsize=13 shadow=1 text x=115 y=160 sensor=memory format="%tm MB" color=255,255,255 fontsize=13 shadow=1 text x=175 y=160 value="Use:" color=255,200,0 fontsize=13 shadow=1 text x=205 y=160 sensor=memory format="%um MB" color=255,255,255 fontsize=13 shadow=1 text x=80 y=180 value="Free:" color=255,200,0 fontsize=13 shadow=1 text x=115 y=180 sensor=memory format="%fm MB" color=255,255,255 fontsize=13 shadow=1 text x=175 y=180 value="Swap:" color=255,200,0 fontsize=13 shadow=1 text x=215 y=180 sensor=memory format="%us MB" color=255,255,255 fontsize=13 shadow=1 #Harddisk text x=80 y=219 value="Root:" color=255,200,0 fontsize=13 shadow=1 text x=80 y=232 sensor=disk mountpoint="/" format="%up% of %tg GB used" interval=60000 color=255,255,255 fontsize=13 shadow=1 text x=80 y=250 value="Home:" color=255,200,0 fontsize=13 shadow=1 text x=80 y=264 sensor=disk mountpoint="/home" format="%up% of %tg GB used" interval=60000 color=255,255,255, fontsize=13 shadow=1 #/ image x=110 y=224 path="images/bg_all_1.png" bar x=113 y=225 w=100 value=1 vertical=false path="images/disk.png" interval=1000 sensor=disk mountpoint="/" #Home image x=118 y=255 path="images/bg_all_1.png" bar x=118 y=256 w=100 value=1 vertical=false path="images/disk.png" interval=1000 sensor=disk mountpoint="/home" #Networking text x=80 y=300 value="Host:" color=255,200,0 fontsize=13 shadow=1 text x=115 y=300 sensor=program program="hostname" color=255,255,255 fontsize=13 shadow=1 interval=10000000 #Down text x=80 y=320 value="Down:" color=127,230,180 fontsize=13 shadow=1 text x=119 y=320 sensor=network device="ppp0" color=255,255,255 format="%in" fontsize=13 shadow=1 decimals=2 interval=1000 text x=150 y=320 value="b/s" color=255,200,0 fontsize=13 shadow=1 #Up text x=80 y=338 value="up:" color=255,127,127 fontsize=13 shadow=1 text x=119 y=338 sensor=network device="ppp0" color=255,255,255 format="%out" fontsize=13 shadow=1 decimals=2 interval=1000 text x=150 y=338 value="b/s" color=255,200,0 fontsize=13 shadow=1 #IP Net: text x=170 y=320 value="Net:" color=0,200,255 fontsize=13 shadow=1 text x=190 y=320 sensor=program program="rm -rf .temp ; mkdir .temp ; cd .temp ; wget http://checkip.dyndns.org/index.html && cat index.html | cut -d '' -f 6 | cut -d '<' -f 1 ' cd .. ; rm -rf .temp" align=right interval=2000 #IP Lan: text x=170 y=338 value="Lan:" color=255,100,200 fontsize=13 shadow=1 text x=190 y=338 sensor=program program="/sbin/ip route | grep 'src' | cut -d c -f3 " align=right" interval=2000 #Clock text x=80 y=385 sensor=time format="dddd MMM d yyyy" color=255,255,0 fontsize=13 font="FakeReceipt" shadow=1 interval=60000 text x=90 y=406 sensor=time format="h:mm ap" color=0,180,255 fontsize=35 font="Failed Attempt" shadow=1 interval=5000 #end