Oracle EDR InfiniBand Switch and Virtualized I/O Systems Administration Guide

Exit Print View

Updated: November 2016
 
 

Clear a Log (Oracle ILOM CLI)

When a log file gets large, you might want to clear it to facilitate locating and managing log contents. If you clear a log, it begins to fill again when new events occur.

  • Do one or all of the following:
    • To clear the audit log, type:
      -> set /SP/logs/audit/ clear=true
      Are you sure you want to clear /SP/logs/audit (y/n)? y
      Set 'clear' to 'true'
      -> 
      
    • To clear the event log, type:
      -> set /SP/logs/event clear=true
      Are you sure you want to clear /SP/logs/event (y/n)? y
      Set 'clear' to 'true'
      ->
      
    • To clear the system log, type:
      -> set /System/Log/ clear=true
      -> Are you sure you want to clear /System/Log (y/n)? y
      ->
      

Related Information