●ページャの無効化
aws rds ・・・ –no-cli-pager
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
aws rds describe-db-log-files –db-instance-identifier CIMEBP3 過去 10080 分間 (7 日間) のすべての Amazon RDS イベントを表示するには 、describe-events AWS CLI コマンドを呼び出し、–duration パラメータを 10080 に設定します。 aws rds describe-events –duration 120 –no-cli-pager データベースログファイルの表示とリスト化 aws rds describe-db-log-files –db-instance-identifier CIMEBP3 [oracle@ip-172-31-34-25 ~]$ aws rds describe-db-log-files –db-instance-identifier CIMEBP3 –no-cli-pager|grep alert “LogFileName”: “trace/alert_CIMEBP3.log”, “LogFileName”: “trace/alert_CIMEBP3.log.2024-10-09”, データベースログファイルのダウンロード aws rds download-db-log-file-portion \ –db-instance-identifier CIMEBP3 \ –starting-token 0 –output text \ –log-file-name trace/alert_CIMEBP3.log > errorlog.txt アラートログとリスナーログへのアクセス SELECT message_text FROM alertlog; |