Script: Calculate Success Rates for Audit, Download, Upload, Repair

Made some tweaks.

  1. Showing more output of in between numbers.
  2. Moved the log command to a variable so it can be edited by SNO’s who have log being output to a file or use a different container name.
  3. Split success rate for audit to a min and max based on recoverable vs unrecoverable errors. The max really should always be 100%.
  4. Replaced bc with awk so it will work on more systems. (Including Synology)
  5. Added accepted rate for uploads based on rejected log lines.

Output looks like (Edit: made it more colorful):
image

4 Likes