文件操作 - CommandLog.html
返回文件管理
返回主菜单
删除本文件
文件: /opt/dell/srvadmin/lib64/openmanage/apache-tomcat/webapps/omsa/help/oem/hip/en/CommandLog.html
编辑文件内容
<!-- #include VIRTUAL="/includes/global_format.inc.asp" --> <html> <head> <link rel="stylesheet" type="text/css" href="PG-ID.css"> <meta HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage 6.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta name="MS.LOCALE" content="EN"> <title>Command Log</title> </head> <body bgcolor="#FFFFFF"> <!-- #include VIRTUAL="/includes/global_header.inc.asp" --> <!-- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ --> <h3><a name="top">Command Log</a></h3> <p>Use this window to view and analyze commands issued by Server Administrator users. All users can read the log; only administrators can clear the log.</p> <table cellPadding="4" border="0"> <tr> <td vAlign="top" width="17"><img border="0" src="notice.gif" width="20" height="20"></td> <td><span class="notes"><b>NOTICE</b>:</span> Server Administrator may take a very long time to load a large command log file. To optimize performance, monitor the size of this file. </td> </tr> </table> <h4><b>User Privileges</b><br> </h4> <table border="2" cellpadding="4" cellspacing="3" width="489"> <tr> <td width="91" align="left" valign="top" rowspan="2"><b>Selection</b></td> <td width="365" colspan="2" align="center" valign="top"><b>User Privileges</b></td> </tr> <tr> <td width="365" colspan="2" align="center" valign="top"><i>U=User; P=Power User; A=Administrator; NA=Not Applicable</i></td> </tr> <tr> <td width="91" align="left" valign="top"> </td> <td width="152" align="center" valign="top"><p><b>View</b></td> <td width="200" align="center" valign="top"><p><b>Manage</b></td> </tr> <tr> <td width="91" align="left" valign="top"><p align="left"><i>C</i>ommand Log</td> <td width="152" align="center" valign="top">U, P, A</td> <td width="200" align="center" valign="top">A</td> </tr> </table><br> <table id="table1" border="0"> <tr> <td vAlign="top" align="left" width="21"> <img height="17" src="note.gif" width="17" border="0"></td> <td><span class="notes">NOTE: </span>For more details on user privilege levels, see "<a href="../../oma/en/UserLevels.html">Privilege Levels in the Server Administrator GUI</a>."</td> </tr> </table> <h4>Command Log</h4> <p>Each event displays with <b>Severity</b>, <b>Date and Time</b>, <b>User</b>, and <b>Description</b> log fields. Clicking a column heading sorts by the column or changes the sort direction of the column.</p> <p>You can see who has logged in, and with what privilege level. The command log tracks logins, logouts, systems management software initialization, shutdowns initiated by systems management software, and other actions such as setting values and alert actions. The command log also records the last time the log was cleared.</p> <h4>Command Log Fields</h4> <table border="0" cellpadding="4" cellspacing="3" width="80%"> <tr> <td width="30%" valign="top" align="left"><strong>Severity</strong></td> <td width="70%" valign="top" align="left"><font color="#000000">Indicates whether the event type is <i>Normal/OK</i>, <i>Warning/Noncritical</i>, or <i>Critical/Nonrecoverable</i>.</font></td> </tr> <tr> <td width="30%" valign="top" align="left"><strong>Date and Time</strong></td> <td width="70%" valign="top" align="left"><font color="#000000">Displays the day, month, date, time (hours, minutes, and seconds), and year of the event</font>.</td> </tr> <tr> <td width="30%" valign="top" align="left"><b>User</b></td> <td width="70%" valign="top" align="left">Displays the names of users logged in to Server Administrator.</td> </tr> <tr> <td width="30%" valign="top" align="left"><strong>Description</strong></td> <td width="70%" valign="top" align="left"><font color="#000000">Displays a brief statement of what happened and components involved.</font></td> </tr> </table> <p>[<a href="#top">Back to Top</a>]</p> <h4>Other Window Controls</h4> <table border="0" cellpadding="4" cellspacing="3" width="80%"> <tr> <td width="30%" valign="top" align="left"><b>Print</b></td> <td width="70%" valign="top" align="left"><font color="#000000">Prints a copy of the log to your default printer.</font></td> </tr> </table> <table border="0" cellpadding="4" cellspacing="3" width="80%"> <tr> <td width="30%" valign="top"><b>Export</b></td> <td width="70%" valign="top">Saves a text file containing the contents of this window (the values of each data field separated by a customizable delimiter) to a destination you specify.</td> </tr> </table> <table border="0" cellpadding="4" cellspacing="3" width="80%"> <tr> <td width="30%" valign="top" align="left"><b>Email</b></td> <td width="70%" valign="top" align="left">E-mails the contents of this window to your designated recipient. See the <em>Server Administrator User's Guide</em> for instructions about configuring your Simple Mail Transfer Protocol (SMTP) server.</td> </tr> <tr> <td width="30%" valign="top" align="left"><b>Clear Log</b></td> <td width="70%" valign="top" align="left">Erases all events from the log.</td> </tr> <tr> <td width="30%" valign="top" align="left"><b>Save As</b></td> <td width="70%" valign="top" align="left">Saves the window content in a <strong>.zip</strong> file.</td> </tr> <tr> <td width="30%" valign="top" align="left"><b>Refresh</b></td> <td width="70%" valign="top" align="left">Redraws the screen.</td> </tr> </table> <p>[<a href="#top">Back to Top</a>]</p> <!-- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ --> <!-- #include VIRTUAL="/includes/global_footer.inc.asp" --> </body> </html>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件