ユーザ用ツール

サイト用ツール


mysql:slowlog_rotate

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
mysql:slowlog_rotate [2014/02/26 08:14] – mysql:スローログのローテート renamed to mysql:slowlog_rotate clownclownmysql:slowlog_rotate [2025/02/16 13:53] (現在) – 外部編集 127.0.0.1
行 1: 行 1:
-===== スローログのローテート =====+===== スローログの自動ローテート =====
  
 ===== アカウント情報の設定フィルを作成  ===== ===== アカウント情報の設定フィルを作成  =====
行 55: 行 55:
 } }
 </code> </code>
 +
 +===== Command =====
 +<code>
 +# logrotate --help                                                       
 +使い方: logrotate [OPTION...] <configfile>
 +  -d, --debug               Don't do anything, just test (implies -v)
 +  -f, --force               Force file rotation
 +  -m, --mail=command        Command to send mail (instead of `/bin/mail')
 +  -s, --state=statefile     Path of state file
 +  -v, --verbose             Display messages during rotation
 +
 +Help options:
 +  -?, --help                Show this help message
 +  --usage                   Display brief usage message
 +</code>
 +
 ===== ローテートのテスト  ===== ===== ローテートのテスト  =====
 <code> <code>
mysql/slowlog_rotate.1393402487.txt.gz · 最終更新: 2025/02/16 13:50 (外部編集)