event log format
- From: htc sun <htc.sunmail@xxxxxxxxx>
- Date: Wed, 25 Mar 2009 10:41:50 +0800
Hi,
Can someone share with me a script that can remove the CR from the event
logs that cover more than 1 line.
in a x64 sun box. Looking at the log with this format is a pain.
ID Date/Time Class Type Severity
----- ------------------------ -------- -------- --------
72 Thu Jan 22 02:07:48 1970 Audit Log minor
root : Open Session : object = /session/type : value = shell :
success
71 Thu Jan 22 02:07:02 1970 Audit Log minor
root : Close Session : object = /session/type : value = shell :
success
70 Thu Jan 22 02:04:40 1970 Audit Log minor
root : Open Session : object = /session/type : value = shell :
success
69 Sun Jan 18 21:27:17 1970 Audit Log minor
root : Close Session : object = /session/type : value = www : success
68 Sun Jan 18 21:09:45 1970 Audit Log minor
root : Set User Password : user ID = 2 : operation = set password :
succe
ss
67 Sun Jan 18 21:06:08 1970 Audit Log minor
root : Open Session : object = /session/type : value = www : success
66 Sun Jan 18 21:06:02 1970 Audit Log minor
root : Open Session : object = /session/type : value = www : error
65 Sun Jan 18 21:05:47 1970 Audit Log minor
root : Open Session : object = /session/type : value = www : error
64 Wed Jan 7 04:09:02 1970 IPMI Log critical
ID = 34 : pre-init timestamp : Voltage : ps0.v12v_1_fault :
Predictive
Failure Asserted
63 Wed Jan 7 04:08:58 1970 IPMI Log critical
ID = 33 : pre-init timestamp : Voltage : ps0.v12v_2_fault :
Predictive
Failure Asserted
ID = 32 : pre-init timestamp : Fan : ps0.fan_fail : Predictive
Failure
Deasserted
Regards,
Andrew
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: Cleaning up patch backout files
- Next by Date: allocating CPU's and RAM to a zone
- Previous by thread: Cleaning up patch backout files
- Next by thread: allocating CPU's and RAM to a zone
- Index(es):
Relevant Pages
|