1.0.4 • Published 7 years ago
usbmon v1.0.4
usbmon
CLI monitoring of USB devices. Reruns a process when USB devices updated.
Installation:
$ npm install usbmon -g
Usage:
Rerun a CLI process whenever USB devices change
$ usbmon
Usage: usbmon <command>
where <command> is any cli command for your system
Examples:
usbmon ls
usbmon lsusb
usbmon curl -I http://my.domain.com/notify/usb/change?device=6b2e0a8
Note that usbmon
uses libudev
behind the scenes.
In Linux/Ubuntu you might need to install it:
sudo apt-get install build-essential libudev-dev