D
Dan Jacobson
How might I do this more efficiently?
while sleep 4; do perl -anwe 'print $F[1]." "' \
/proc/acpi/thermal_zone/THM0/temperature; done
First, no need for more than one process.
Second, must reopen the file each time.
Third, maybe there's a proc:: module that can help?
while sleep 4; do perl -anwe 'print $F[1]." "' \
/proc/acpi/thermal_zone/THM0/temperature; done
First, no need for more than one process.
Second, must reopen the file each time.
Third, maybe there's a proc:: module that can help?