Techyou labs
真正的爱应该超越生命的长度、心灵的宽度、 灵魂的深度
常用标签
November 11, 2010

logrotate:

$ cat /etc/logrotate.d/nginx
/usr/local/nginx/logs/*.log {
daily
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
[ ! -f /usr/local/nginx/logs/nginx.pid ] || kill -USR1 `cat /usr/local/nginx/logs/nginx.pid`
endscript
}
http://hi.baidu.com/27270543/blog/item/3f8f75ef4bb36a1afdfa3c9b.html
http://www.itpub.net/thread-1160221-1-1.html#
http://hi.baidu.com/qerpiu/blog/item/444935b463d117c336d3cad8.html
http://apps.hi.baidu.com/share/detail/12856786

http://www.linuxfans.org/bbs/thread-181406-1-1.html
linux监控命令.docx

暂无评论

添加新评论