Merge Logs

Embed Size (px)

Citation preview

  • 7/21/2019 Merge Logs

    1/1

    LogsPdm_logcvrt uses timestamp information in the first line of each stdlog to adjust timestamps, which can differ from server to server in the logs, so that they merge in to a consistent sequence. Merging stdlogs from primary and secondary servers can be helpful when you are troubleshooting problems between hosts.Note: Merging logs containing data from different years produces data that is not sorted correctly.The log command has the following syntax:UNIX:sort std* | pdm_cvrt | sort > merged-logWindows:type std* | pdm_logcvrt | sort > merged_log