Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/preetam/adversaria-java
Time-series logging that doesn't suck
https://github.com/preetam/adversaria-java
Last synced: 4 days ago
JSON representation
Time-series logging that doesn't suck
- Host: GitHub
- URL: https://github.com/preetam/adversaria-java
- Owner: Preetam
- Created: 2013-05-20T16:43:12.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-12T19:53:31.000Z (about 11 years ago)
- Last Synced: 2024-11-10T00:44:38.393Z (2 months ago)
- Language: Java
- Size: 180 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Adversaria
==========
[![Build Status](https://drone.io/github.com/PreetamJinka/Adversaria/status.png)](https://drone.io/github.com/PreetamJinka/Adversaria/latest)Time-series logging that doesn't suck
Requirements
----
* Java 7
* antUsage
----
Build:$ make
Install convenient shell script:
# make install
General argument format:
$ adversaria [function] [file name] [[arguments]]
### Create
Initializes a new log file
$ adversaria create log.db
### Insert
Inserts a key/value pair. The first argument after the file name is an integer key -- probably a unix timestamp.
The next few arguments (at least one) are floats.$ adversaria insert log.db 1370233172 0.0 0.0 1.0
### Export
Exports a single key/value pair. The argument is the key.
$ adversaria export log.db 1370233172
### Dump
Outputs all key/value pairs.
$ adversaria export log.db
### Range
Gets a range of key/value pairs. Arguments are two keys.
$ adversaria range log.db 1370233000 1370233172
### Size
Prints the size of the log.
$ adversaria size log.db
License
----
MIT