{"provider_url":"https://hatena.blog","blog_url":"https://donbulinux.hatenablog.jp/","provider_name":"Hatena Blog","published":"2024-06-12 19:34:12","image_url":null,"height":"190","categories":["Linux"],"version":"1.0","url":"https://donbulinux.hatenablog.jp/entry/2024/06/12/193412","author_name":"donbulinux","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdonbulinux.hatenablog.jp%2Fentry%2F2024%2F06%2F12%2F193412\" title=\"logrotate \u306e\u5b9f\u884c\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b - AR \u30db\u30fc\u30e0\u30d9\u30fc\u30ab\u30ea\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"AR \u30db\u30fc\u30e0\u30d9\u30fc\u30ab\u30ea\u30fc","type":"rich","author_url":"https://blog.hatena.ne.jp/donbulinux/","title":"logrotate \u306e\u5b9f\u884c\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b","width":"100%","description":"RHEL \u7cfb\u5217\u3060\u3068 /var/lib/logrotate/logrotate.status \u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u3002 access.redhat.com \u6982\u306d logrotate -dv /etc/logrotate.d/${\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb} \u3067 dry-run \u306e verbose \u51fa\u529b\u3067\u539f\u56e0\u304c\u308f\u304b\u308b\u3051\u3069\u3001daily \u304b\u3064 delaycompress \u7684\u306a\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3068\u300c\u3042\u308c\u52d5\u3044\u3066\u306a\u3044\u2026\u2026\u3044\u3084\u521d\u56de\u306f\u5b9f\u884c\u3055\u308c\u306a\u3044\u30672\u65e5\u5f8c\u304b\u3089\u3060\u3063\u3051\u304b\uff1f\u300d \u307f\u305f\u3044\u306b\u52d5\u4f5c\u306e\u304a\u4f5c\u6cd5\u3092\u5fd8\u308c\u304c\u3061\u3067\u614c\u3066\u3066\u8abf\u3079\u308b\u30cf\u30e1\u306b\u306a\u3063\u3066\u3044\u308b\u3002"}