Asset ID: |
1-79-1950693.1 |
Update Date: | 2015-03-26 |
Keywords: | |
Solution Type
Predictive Self-Healing Sure
Solution
1950693.1
:
How to convert time stamps in the STK RAID controller to readable time
Related Categories |
- PLA-Support>Sun Systems>x86>Server>SN-x64: SERVER 64bit
|
How to convert time stamps in the STK RAID controller to readable format
In this Document
Applies to:
Sun Fire X4270 Server - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.
Purpose
This will help to read the date/time of StorageTek raid controller in standard readable format
Scope
Help to analyze the event logs date/time of StorageTek raid controller
Details
In StorageTek (Adaptec) RAID HBA arcconf event log shows date/time stamp in different format which is not in standard readable format.
Example
n# ./arcconf getconfig 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Channel description : SAS/SATA
Controller Model : Sun STK RAID INT <<<<<<<<<
Controller Serial Number : 00935AA0001
# ./arcconf getlogs 1 event tabular
Controllers found: 1
ControllerLog
controllerID ..................... 0
type ............................. 6
time ............................. 1417578019 <<<<<<< Not in standard readable format
eventlog
event
Date ............................. 1417578019 <<<<<<<<< Not in standard readable format
To read this date and time in standard format, run the below command.
bash-3.2$ perl -e 'print scalar localtime(shift),"\n";' 1417578019
Wed Dec 3 03:40:19 2014 <<<<<<<<<<<< You will be able to see the date in readable format
This will help to analyze the events.
Attachments
This solution has no attachment