Last updated 4 years ago
Was this helpful?
cat /dev/null > xxx.log
这种情况可能是文件被删掉了,但是仍然被进程占用,磁盘空间没有释放导致的,删掉占用进程就可以了。查找删除文件的占用进程:
lsof|grep del
参考: