Difference between revisions of "Creating calculate GB in one days of logs for MLM"

From cpwiki.net
Jump to: navigation, search
Check Point Profressional Services
(Created page with " mcd customers # for CLM in *; do mdsenv $CLM; find $CLM/CPsuite-R77/fw1/log/*.log -mtime -1 | xargs ls -l | awk '{s+=$5} END {printf "%.0f", s; print "/1024/1024/1024"}' | b...")

Revision as of 15:43, 3 October 2017

mcd customers
# for CLM in *; do mdsenv $CLM; find $CLM/CPsuite-R77/fw1/log/*.log -mtime -1 | xargs ls -l | awk '{s+=$5} END {printf "%.0f", s; print "/1024/1024/1024"}' | bc -l; done | awk '{s+=$1} END {print s}'

64.5209