Go to main content
Oracle EDR InfiniBand Switch および仮想 I/O システム管理ガイド

印刷ビューの終了

更新: 2016 年 11 月
 
 

ログのクリア (Oracle ILOM CLI)

ログファイルが大きくなると、ログの内容の検索と管理を容易にするために、それをクリアしたいと考える場合があります。ログをクリアすると、新しいイベントが発生したときに再度記録が開始されます。

  • 次のいずれかまたはすべてを行います。
    • 監査ログをクリアするには、次のように入力します。
      -> set /SP/logs/audit/ clear=true
      Are you sure you want to clear /SP/logs/audit (y/n)? y
      Set 'clear' to 'true'
      -> 
      
    • イベントログをクリアするには、次のように入力します。
      -> set /SP/logs/event clear=true
      Are you sure you want to clear /SP/logs/event (y/n)? y
      Set 'clear' to 'true'
      ->
      
    • システムログをクリアするには、次のように入力します。
      -> set /System/Log/ clear=true
      -> Are you sure you want to clear /System/Log (y/n)? y
      ->
      

関連情報