0.0.4 • Published 11 years ago
ninja-diskspace v0.0.4
Ninja Diskspace Monitor
Author: Brian Call Based on ninja-diskspace by Paul Cull Version: 0.0.2 Status: Stable License: BSD
Installation
Step 1 - fetch driver
cd PATH_TO_NINJA_CLIENT/drivers
git clone https://github.com/bacall213/ninja-diskspace.git
cd ninja-diskspace
npm install
check the device that you want monitor df -k
Results should look like
ubuntu@ninjablock:~$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mmcblk0p2 3736512 1026724 2522448 29% /
udev 124224 4 124220 1% /dev
tmpfs 50316 180 50136 1% /run
none 5120 0 5120 0% /run/lock
none 125780 0 125780 0% /run/shm
tmpfs 51200 6128 45072 12% /var/log
/dev/mmcblk0p1 65390 11152 54238 18% /boot/uboot
This driver defaults to 0p2 for the Ninja Block. Use the driver config dialog to change the disk you want to monitor.
Step 2 - restart process
sudo service ninjablock restart
Notes
- Install instructions not proofed
- This is NOT on NPM yet, so
npm install
is expected to fail - This driver based on the ninja-diskspace driver by Paul Cull