15UPS Network Management Card 2 User’s Guide
date
Access: Administrator only
Definition: Configure the date used by the Management Card.
To configure an NTP server to define the date and time for the Management Card, see “Set
the Date and Time” on page 78.
Example 1: To display the date using the format yyyy-mm-dd, type:
date -f yyyy-mm-dd
Example 2: To define the date as October 30, 2009, using the format configured in the preceding
example, type:
date -d “2009-10-30”
Example 3: To define the time as 5:21:03 p.m., type:
date -t 17:21:03
delete
Access: Administrator only
Description: Delete the event or data log, or delete a file in the file system.
Example: To delete the event log:
1. Navigate to the folder that contains the file to delete. For example, to navigate to the
logs folder,
type:
cd logs
2. To view the files in the
logs folder, type:
dir
The file event.txt is listed.
3. Type
delete event.txt.
Option Argument Description
-d <“datestring”> Set the current date. Use the date format specified by the date -f command.
-t <00:00:00> Configure the current time, in hours, minutes, and seconds. Use the 24-hour
clock format.
-f mm/dd/yy |
dd.mm.yyyy |
mmm-dd-yy |
dd-mmm-yy |
yyyy-mm-dd
Select the numerical format in which to display all dates in this user interface.
Each letter m (for month), d (for day), and y (for year) represents one digit.
Single-digit days and months are displayed with a leading zero.
-z <time zone
offset>
Set the difference with GMT in order to specify your time zone. This enables
you to synchonize with other people in different time zones.
Argument Description
<file name> Type the name of the file to delete.