is it possible to make watch r edirect it's output into a file to make a kind of makeshift log? so if i wanted to log my cpu temperature i'd do this:
Code:
watch -n.5 cat /proc/acpi/thermal_zone/ATF0/temperature
only somehow get it to save each output to a file so it would look something like this:
Code:
temperature: 53 C
temperature: 53 C
temperature: 53 C
temperature: 53 C
temperature: 51 C
temperature: 54 C
temperature: 53 C
temperature: 53 C
temperature: 57 C
temperature: 55 C
temperature: 55 C
if i could get it to only save the output when the number changes it would be even better.