Viewing Multiple "/var/log/messages" Files Using The "vlmsort" Script
(Doc ID 603986.1)
Last updated on JUNE 01, 2020
Applies to:Linux OS - Version Oracle Linux 4.6 to Oracle Linux 5.2 [Release OL4U6 to OL5U2]
Oracle VM - Version 2.1 to 2.1.1 [Release OVM21 to OVM211]
Oracle VM - Version: 2.1 to 2.1.1
In a cluster environment, an incident on one host can produce secondary effects on other cluster nodes. The Linux kernel typically logs notices to the file /var/log/messages on each host. Manually scanning these files searching for related entries can be a daunting task.
This note describes the vlmsort script which can merge multiple /var/log/messages files into a more-easily comprehended single file. The log entries are grouped by time and sorted by host name.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document