{"id":201562,"date":"2020-09-30T09:09:14","date_gmt":"2020-09-30T01:09:14","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=201562"},"modified":"2020-09-23T14:10:01","modified_gmt":"2020-09-23T06:10:01","slug":"linux-log-solve","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-log-solve.html","title":{"rendered":"Linux\u4e0b\u65e5\u5fd7\u6587\u4ef6\u8fc7\u5927\u7684\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u5f88\u591aLinux\u670d\u52a1\u5668\u91cc\u7684\u5e94\u7528\u7a0b\u5e8f\u90fd\u662f\u65e0\u95f4\u65ad\u7684\u8f93\u51fa\u65e5\u5fd7\uff0c\u8fd9\u5bf9\u4e8e\u670d\u52a1\u5668\u7684\u786c\u76d8\u662f\u4e00\u4e2a\u5f88\u5927\u7684\u8003\u9a8c<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u6211\u4eec\u90fd\u77e5\u9053\uff0c\u65e5\u5fd7\u5bf9\u4e8e\u6211\u4eec\u800c\u8a00\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u4e00\u91cf\u5e94\u7528\u7a0b\u5e8f\u51fa\u73b0bug\uff0c\u6216\u8005\u670d\u52a1\u5668\u5b95\u673a\uff0c\u6211\u4eec\u5fc5\u987b\u901a\u8fc7\u65e5\u5fd7\u6587\u4ef6\u6765\u8fdb\u884cdebug\u6216\u8fdb\u4e00\u6b65\u5206\u6790\u3002\u6240\u4ee5\uff0c\u65e5\u5fd7\u6587\u4ef6\u4e0d\u80fd\u7b80\u5355\u7684\u4e00\u5220\u4e86\u4e4b\u3002<\/p>\n \u8fd9\u65f6\uff0c\u6211\u4eec\u60f3\u5230\uff0c\u5982\u679c\u80fd\u5c06\u65e5\u5fd7\u6587\u4ef6\u5207\u5206\u8be5\u591a\u597d\uff0c\u8fd9\u6837\u6211\u4eec\u53ef\u4ee5\u7559\u4e0b\u91cd\u8981\u7684\u65e5\u5fd7\uff0c\u800c\u5220\u6389\u4e0d\u5fc5\u8981\u7684\u65e5\u5fd7\u3002\u4e0b\u9762\u826f\u8bb8\u5c31\u6765\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u79cd\u65b9\u6cd5\u3002<\/p>\n \u6211\u4eec\u53ef\u4ee5\u6bcf\u5929\u90fd\u8fdb\u884c\u5207\u5206\u65e5\u5fd7\u7684\u64cd\u4f5c\uff0c\u90a3\u8981\u8fd9\u6837\u7684\u8bdd\uff0c\u4e3a\u4e86\u907f\u514d\u6df7\u6dc6\uff0c\u6211\u4eec\u5207\u5206\u51fa\u6765\u7684\u65e5\u5fd7\u90fd\u5e94\u8be5\u5e26\u4e0a\u65e5\u671f\u3002\u5f53\u7136\u65e5\u671f\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u8bed\u53e5\u83b7\u53d6\uff1a<\/p>\n \r\ncurrent_date=`date -d \"-1 day\" \"+%Y%m%d\"` \r\n<\/pre>\n |