Log Analysis

From NovaOrdis Knowledge Base
Jump to: navigation, search

Organizatorium

Collating "size" Log Fragments

i=31; while [ $i -gt 0 ]; do filename=server.log.$i; [ -f ${filename} ] || echo "${filename} does not exist" 1>&2; echo -n "${filename} "; ((i--)); done; echo ""