找到进程回显日志

时间:2017-09-10 04:40:21

标签: macos

我在〜/ Library / logs中找到一个日志文件,其名称是“kcptun_client.log”。我完全不知道它,但它每10秒输出相同的错误日志,持续约两个月!我受不了了。
如何找到输出日志并杀死它的进程?

我使用$ lsof ~/Library/Logs/kcptun_client.log,它没有回音

文件如下所示

2017/09/10 12:20:26 open kcptun-config.json: no such file or directory
2017/09/10 12:20:36 open kcptun-config.json: no such file or directory
2017/09/10 12:20:46 open kcptun-config.json: no such file or directory
2017/09/10 12:20:56 open kcptun-config.json: no such file or directory
2017/09/10 12:21:06 open kcptun-config.json: no such file or directory
2017/09/10 12:21:16 open kcptun-config.json: no such file or directory
2017/09/10 12:21:26 open kcptun-config.json: no such file or directory
2017/09/10 12:21:36 open kcptun-config.json: no such file or directory
2017/09/10 12:21:46 open kcptun-config.json: no such file or directory
2017/09/10 12:21:56 open kcptun-config.json: no such file or directory
2017/09/10 12:22:06 open kcptun-config.json: no such file or directory
2017/09/10 12:22:16 open kcptun-config.json: no such file or directory
2017/09/10 12:22:26 open kcptun-config.json: no such file or directory
2017/09/10 12:22:36 open kcptun-config.json: no such file or directory
2017/09/10 12:22:46 open kcptun-config.json: no such file or directory
2017/09/10 12:22:56 open kcptun-config.json: no such file or directory
2017/09/10 12:23:06 open kcptun-config.json: no such file or directory
2017/09/10 12:23:16 open kcptun-config.json: no such file or directory
2017/09/10 12:23:26 open kcptun-config.json: no such file or directory
2017/09/10 12:23:36 open kcptun-config.json: no such file or directory
2017/09/10 12:23:46 open kcptun-config.json: no such file or directory
2017/09/10 12:23:56 open kcptun-config.json: no such file or directory
2017/09/10 12:24:06 open kcptun-config.json: no such file or directory

0 个答案:

没有答案