Name: ebs-warmer
Owner: Code Climate
Description: Warm an EBS volume by reading all its bytes
Created: 2016-11-14 16:03:50.0
Updated: 2016-11-14 16:18:26.0
Pushed: 2016-11-14 16:18:27.0
Homepage: null
Size: 11
Language: Haskell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Warm an EBS volume by reading all its bytes.
This is a small wrapper over the dd
command found here.
The wrapper manages backgrounding the dd
process and repeatedly sending
SIGUSER1
to read its progress. The progress is then output in a nicer format
that includes estimated time remaining.
There is a pre-built binary for 64 bit Linux:
https://s3.amazonaws.com/com.codeclimate.tools/ebs-warmer-0.1.0.0-linux-x86_64 > ebs-warmer
d +x ebs-warmer
mv ebs-warmer /usr/local/bin
e: ebs-warmer [-i|--interval SECONDS] DEVICE
rm an attached EBS volume by reading all its bytes
lable options:
,--help Show this help text
,--interval SECONDS Interval on which to print progress information
VICE Block device to read, e.g. /dev/sda1
do build/bin/ebs-warmer /dev/sda2
s=275.5MB total=238.2GB rate=91.8MB/s remaining=44m14s
s=631.0MB total=238.2GB rate=105.1MB/s remaining=38m34s
s=1.6GB total=238.2GB rate=192.6MB/s remaining=20m57s