Git Product home page Git Product logo

diskspaceexhaustionpredictor's Introduction

DiskSpaceExhaustionPredictor

Based on historical TreeSize scans, predict when a disk will run out of free space.

Problem

I want to know the deadline by which I need to buy a new hard drive for my NAS RAID.

Solution

Look at TreeSize scan history and assume linear disk usage growth, which fits my usage quite accurately. This uses an ordinary least-squares estimation for the linear regression.

Requirements

Prerequisites

  1. Run TreeSize and scan the given drive.
  2. Do this at least twice. The prediction accuracy will increase as the number of scans and duration of time covered by the scans increases.
  3. You can look at a graph of the history of the drive's allocated bytes in the History tab.

Usage

This is a console mode program. Run it from a command line like the Command Prompt or PowerShell.

>DiskSpaceExhaustionPredictor.exe D:
Analyzing disk usage over time, based on 31 scans, the most recent of which was on Tuesday, October 22, 2019.
Disk space on D:\ will be exhausted in about 148 days, around Wednesday, March 18, 2020.

Development

Requirements

Building

  1. Open the solution file in Visual Studio.
  2. Build the solution with Build โ†’ Build solution.
  3. If you don't care about debugging the program and don't want a folder full of DLLs to worry about, use the solution configuration toolbar dropdown menu to switch from Debug to Release.
  4. The compiled program is DiskSpaceExhaustionPredictor\bin\Release\DiskSpaceExhaustionPredictor.exe, relative to the solution directory (or Debug for debug builds).

diskspaceexhaustionpredictor's People

Contributors

aldaviva avatar

Watchers

James Cloos avatar  avatar  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.