摘要: 默认情况下,nohup的日志将保存在一个名为nohup.out的文件中。随着时间的推移,nohup.out文件会变得越来越大,直到某一天程序莫名的崩溃。这种情况是可以预防的,有很多策略都可以解决这个问题。Strategy#1利用rotatelogs分割日志每天写一个日志:nohup ./startWebLogic.sh | /usr/sbin/rotatelogs -l /var/logs/logfile.%Y.%m.%d 86400 &每512M写一个日志:nohup ./startWebLogic.sh | /usr/sbin/rotatelogs -l /var/logs/log 阅读全文
posted @ 2013-10-10 17:03 MagicLetters 阅读(713) 评论(0) 推荐(0)
摘要: When you use KDE the fonts in Firefox are ugly. This is the fix: Open with Kate: /home/yourusername/.fonts.conf. Change the hinting in the file as hintslight like this: none ... 阅读全文
posted @ 2013-10-10 00:24 MagicLetters 阅读(256) 评论(0) 推荐(0)