https://github.com/blahah/datmon
cli tool for monitoring dats
https://github.com/blahah/datmon
Last synced: 5 months ago
JSON representation
cli tool for monitoring dats
- Host: GitHub
- URL: https://github.com/blahah/datmon
- Owner: blahah
- Created: 2016-03-30T09:57:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-29T03:11:44.000Z (almost 10 years ago)
- Last Synced: 2025-05-18T08:35:40.593Z (8 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# datmon
Monitors your dat processes on your local filesystem.
## Example
Install `datmon` to get started:
```
npm install -g datmon
```
Now you can start a dat called 'census'
```
$ datmon link ~/Dropbox/census/2010 -n census
census running just now dat://b8f6a4178617e8618
```
And another dat called 'finances'
```
$ datmon link ~/data/finances -n finances
finances running just now dat://as723hsdf18s73723
```
You can then list the running dats:
```
$ datmon ls
finances running less than a minute ago /Users/karissa/data/finances
dat://b8f6a4178617e8
census running less than a minute ago /Users/karissa/Dropbox/census/2010
dat://as723hsdf18s73
```
To stop a dat and remove it from the list:
```
$ datmon rm finances
census running less than a minute ago /Users/karissa/data/finances
dat://bafd737f610d03
```
## Usage
```
datmon link DIR [-n NAME]
Create a new dat using the contents of a given DIR directory
and begin serving it to the public network.
-n the name of the process (randomly generated by default)
datmon ls
List the currently tracked dats.
datmon rm NAME
Stop a dat and remove it from the list. Does not remove the file contents.
datmon close
Stop all dats and close the daemon.
```