chunk
sup
since we're sharing snippets of how people do their stats: ``` #!/usr/bin/env bash set -e report_in='<redacted>' report_out="$(mktemp)" date -u +'%Y-%m-%d %H:%M UTC' > "$report_out" echo "" >> "$report_out" head -n1 "$report_in" | cut -d' ' -f 1,7 >> "$report_out" echo "" >> "$report_out" tail -n +2 "$report_in" | cut -d' ' -f 1,7 | LC_ALL=en_US.UTF-8 sort -r -h -k 2 | xargs printf '%45s %8s\n' >> "$report_out" tempfile="$(mktemp)" cat '<redacted>' "$tempfile" cat "$report_out" >> "$tempfile" cat '<redacted>' >> "$tempfile" chown www-data:www-data "$tempfile" mv "$tempfile" '<redacted>' # EOF ```
[2018-07-08 03:53:00] WARNING io.grpc.internal.ProxyDetectorImpl detectProxy Failed to get host for proxy lookup, proceeding without proxy java.lang.OutOfMemoryError: Java heap space [2018-07-08 03:53:12] INFO snowblossom.miner.PoolMiner printStats 15 Second mining rate: 0.000/sec [2018-07-08 03:53:13] INFO snowblossom.miner.PoolMiner printStats 1-min: 0.000/s, 5-min: 1.460/s, hour: 5.360/s [2018-07-08 03:53:14] INFO snowblossom.miner.PoolMiner printStats we seem to be stalled, reconnecting to node Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
never seen that happen before