# # project mods by Martin Bockwinkel # vdr AT ozysoft DOT com # Infos : echo "no function" -Temperature : /usr/local/bin/mbmon -c 1 # depending on which Linux distribution you got, you might need to adjust the # positions in the following line. there is a difference between redhat and # debian. redHat 8.0 would be $3, $5, $9. to test it, just call # "top -iSn 1 | grep sys". positions start at 1 and you need to find the ones # with the % sign. -Process load : top -iSn 1 | grep sys | awk '{ printf( "user %s, sys %s, nice %s, idle %s\n", $2, $4, $6, $8) }' -Drivespace : df -h | grep % | awk '{ printf( "%4.4s : %5.5s : %s\n", $5, $4, $6) }' -View Messages : tail -n 20 /var/log/messages -Clear Messages : echo > /var/log/messages && echo "messages cleared" # athcool is being started on my system as soon as the computer starts. it # reduces the temperature by about 16 deg when idle. System : echo "no function" -athcool on : /usr/local/bin/athcool on -athcool status : /usr/local/bin/athcool stat # it should be possible to reset this flag, since it could cause problems # while playing movies. I have noticed, that it produces frame faults # when a lot of information is to be displayed. -athcool off : /usr/local/bin/athcool off Handling drives : echo "no function" -connect anuketDVD mount : /bin/mount /mnt/anuketDVD -disconnect anuketDVD : /bin/umount /mnt/anuketDVD -local DVD eject : eject -local DVD close bay : eject -t # this part connects a USB drive with a NTFS filesystem on it. # it uses the captive driver, which is a real mess to install ;) -connect ntfs USB drive : /bin/mount /mnt/usbNtfs -disconnect ntfs USB drive : /bin/umount /mnt/usbNtfs