GithubHelp home page GithubHelp logo

isabella232 / ebs-warmer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codeclimate/ebs-warmer

0.0 0.0 0.0 11 KB

Warm an EBS volume by reading all its bytes

License: MIT License

Makefile 4.77% Haskell 95.23%

ebs-warmer's Introduction

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:

curl https://s3.amazonaws.com/com.codeclimate.tools/ebs-warmer-0.1.0.0-linux-x86_64 > ebs-warmer
chmod +x ebs-warmer
sudo mv ebs-warmer /usr/local/bin

Usage

Usage: ebs-warmer [-i|--interval SECONDS] DEVICE
  Warm an attached EBS volume by reading all its bytes

Available options:
  -h,--help                Show this help text
  -i,--interval SECONDS    Interval on which to print progress information
  DEVICE                   Block device to read, e.g. /dev/sda1

Example

% sudo build/bin/ebs-warmer /dev/sda2
bytes=275.5MB total=238.2GB rate=91.8MB/s remaining=44m14s
bytes=631.0MB total=238.2GB rate=105.1MB/s remaining=38m34s
bytes=1.6GB total=238.2GB rate=192.6MB/s remaining=20m57s

ebs-warmer's People

Contributors

pbrisbin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.