Getting Campbell Data
From mgvc ssh 192.168.10.58 ps auxw | grep Agent kill Agent process
Check dmesg to confirm Proliant USB/Serial shows up at /dev/ttyUSB0
cat /dev/ttyUSB0 > campbell.data (I think it is still programmed to spit out its memory, or at least the last four values? every minute?)
Maybe getting the full memory dump requires more than just "cat /dev/ttyUSB0". But at the moment (2012/02/08) my guess is that the Campbell battery is dead, as it isn't answering on /dev/ttyUSB0 Once I can talk w/ the Campbell, I'll add the instructions for a full memory dump here..
/var/log/wtmp gets big
Agent.log can get big
~/brickmove/expired needs to get automatically copied over (this is still Logan being super careful, I think)..
rsync -raz --remove-sent-files brick58_2010051* email@example.com:58_2010/
I couldn't get 58 -> smak.com ssh working, so it goes 58 -> nsrl1 -> smak.com
on smak.com, I have a crontab entry which makes 00_latest.jpg and adds a timestamp to the image (based on the file timestamp, which should (via rsync -a) be the timestamp put on my 58 when it grabs the image (so relies on 58's clock being good...)
to get the time stamp on the image:
convert -gravity SouthEast -pointsize 24 -fill white -annotate +60+20 "`ls -l 00_latest.jpg | cut -c37-52`" 00_latest.jpg test.jpg
to just make 00_latest.jpg
rm -f /home/seamonster/seamonsterak.com/WebCams/MendGlTerm_01/00_latest.jpg ; ln -s `ls -rt /home/seamonster/seamonsterak.com/WebCams/MendGlTerm_01/*.jpg | tail -1` /home/seamonster/seamonsterak.com/WebCams/MendGlTerm_01/00_latest.jpg >& /dev/null
put it together...
rm -f /home/seamonster/seamonsterak.com/WebCams/MendGlTerm_01/00_latest.jpg ; convert -gravity SouthEast -pointsize 24 -fill white -annotate +60+20 "`ls -l /home/seamonster/seamonsterak.com/WebCams/MendGlTerm_01/*.jpg | tail -1 | cut -c40-55`" `ls -rt /home/seamonster/seamonsterak.com/WebCams/MendGlTerm_01/*.jpg | tail -1` /home/seamonster/seamonsterak.com/WebCams/MendGlTerm_01/00_latest.jpg >& /dev/null