I would like to try something, but I am new to Linux. Is there a script similar to what you can do with DOS batch files that I could run to do the following:
Copy a quantity of files from a temp directory to the SD card; log this to a results file Copy the temperature to the results file via acpi -V Delete the copied files from the SD card Repeat the above process 100 times
This would provide a log of if this an intermittent problem that only occurs at higher temperatures.
where the temp directory is /directory/temp, the sd card is mounted at /media/sdcard, and your results and script are in /home/evbrown (all probably need to be changed), and your scripts is named script.sh.
The >> tells bash/csh/whatever to write to end of file, so you can use that to log pretty much anything.
The last line just calls the script again. May want to do something different so it doesn't run forever.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum