OS-Linux-GetSyslogVolume.sh
OS-Linux-GetSyslogVolume.sh

This bash script calculates the total MPS for a text file with Syslog format timestamps.   It parses our the first and last entry, then divides this by the total file count to gather the MPS.

[root@local~]# ./LRGetLinuxSyslogVolume.sh /var/log/messages
File:  /var/log/messages
Total Logs:  1809
Duration:  399722
MPS: 0.00452565
lrchma/Log-Volume-Scripts