Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add timestamp in the capture file in each row

Status
Not open for further replies.

thomas200813

Programmer
Feb 12, 2007
8
CN
My requirement is quit simple,but I hope it is easy to implement at
> least.I am a novice in procomm and ASPECT script.My requirement is
> shown below:
> I just want to add a timestamp in the log file.How could it
> happen?Could procomm software have this functionality or ASPECT script ?
>
> As you know,there is a "capture file" option and I could log the
> output of this terminal.But now I hope I could add timestamp to the
> logfile in each row.It looks like:
> 2007-02-02|14:41:59|Booting PCC... OK
> 2007-02-02|14:41:59|Booting EID... OK
> 2007-02-02|14:41:59|Booting Comm Mgr... OK 14:41:59|Booting PHY_BH...
> 2007-02-02|OK 14:41:59|Booting System Time... OK 14:41:59|Booting
> 2007-02-02|ALARMS... OK 14:41:59|Booting RMMI... OK 14:41:59|Booting
> 2007-02-02|ETHERNET DEBUG... OK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top