https://github.com/jacobbednarz/disk-checker
Tidy Ruby disk space checker
https://github.com/jacobbednarz/disk-checker
Last synced: about 1 month ago
JSON representation
Tidy Ruby disk space checker
- Host: GitHub
- URL: https://github.com/jacobbednarz/disk-checker
- Owner: jacobbednarz
- Created: 2012-05-25T12:02:47.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-05-26T11:39:22.000Z (almost 13 years ago)
- Last Synced: 2025-02-07T13:54:37.564Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Disk checker
Nice and simple utility for checking how much free space is left on a drive.
Very handy for server administrators to check for free space and can be used in
conjuction for alerting users and sysadmins when disk space is low.### Usage
Calling within a script or application is very straight forward.
```Ruby
# Check free space in '/'
get_free_space('/')
```### The to-do list
The future of this script many become a little more complex and the following
features are planned for future releases:* Include a Byte to MB to GB conversion tool
* Package and release as a gem for simpler deployment
* Accept command line arguments to be used on it's own