node-ssh-df
A Node.js module to check disk space on remote machines using ssh and df Unix program.
Installation
npm install node-ssh-df
Usage
Basic
var df = config = host: 'localhost' username: 'foo' password: 'bar' ; ;
See ssh2 page on GitHub for more info about config
hash.
See node-df page on GitHub for more info about df
output.
Advanced
var df = config = host: 'localhost' username: 'foo' password: 'bar' options = file: '/' prefixMultiplier: 'GB' isDisplayPrefixMultiplier: true precision: 2 ; ;
See node-df page on GitHub for more info about options
hash.