codeclimate/ebs-warmer

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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.

Installation

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
Usage
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
Example
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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.