标签:linux syslog
执行
[root@localhost log]# lsof |grep /var/log/messages
显示
rsyslogd 1409 root 4w REG 253,0 112065 247 /var/log/messages
[root@localhost log]# ls -al /proc/1409/fd/4
l-wx------. 1 root root 64 Jun 20 19:50 /proc/1409/fd/4 -> /var/log/messages
[root@localhost log]# service rsyslog restart
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
本文出自 “11743537” 博客,请务必保留此出处http://11753537.blog.51cto.com/11743537/1791149
标签:linux syslog
原文地址:http://11753537.blog.51cto.com/11743537/1791149