操作:

循环覆盖向tmp 文件写入坐标

tmp:

-45.6976089525,-26.1528715421,-0.0188627654187

 

报错如下:

-15.2517398838,-5.1216965666,1.62749776805tail: /opt/xxx/tmp: file truncated

 

解决:

tail -f -n 1 /opt/xxx/tmp