摘要: 1、用httpd的日志做例子 # rm -rf /var/log/httpd/access_log 2、利用lsof找到文件被哪个进程号占用 (不能关闭或重启进程) # lsof |grep access_log httpd 2384 apache 7w REG 8,3 4 101112345 /v 阅读全文
posted @ 2021-05-19 14:47 xiao_pai_pai 阅读(98) 评论(0) 推荐(0) 编辑