Commit bc652b4e authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

quickfix of the README

parent 4d8a8c5b
......@@ -20,7 +20,7 @@ Sample configs must not be used in the code.
**Example**: `influxdb.sample` -> `influxdb.py`
## Usage
The main executable of the aggregator module is `data.py`. You can type `./data.py -p` for more help.
The main executable of the aggregator module is `data.py`. You can type `./data.py -h` for more help.
```
usage: data.py [-h] [-s] [-t {ascii,pdf}] JOBID
......@@ -40,7 +40,7 @@ optional arguments:
```
## Get test output
In order to get `json` output from the test data, located at `test/data`, a docker container with InfluxDB instanse and imported data should be running. To run the InfluxDB container, simply run:
In order to get `json` output from the test data, located at `test/data`, a docker container with InfluxDB instanse and imported data should be running. To run the InfluxDB container, simply execute:
```
test/docker/influxdb/run_influxdb.sh
```
......@@ -56,11 +56,11 @@ IDB = {
}
```
As an example the following command will output the test data in the `json` format for `pdf` report:
As an example the following command will output the test data in the `json` format for a `pdf` report:
```
./data.py -t pdf 2368599
```
## Export job info
If the `data.py` is called with `-s`(`--save`) flag as `data.py -s JOBID`, then the aggregator will gather a job information with ID `JOBID` from the batch system configured in `/conf/config.py` and save it into the configured database as a `pfit-jobinfo` measurement.
If the `data.py` is called with `-s`(`--save`) flag as `data.py -s JOBID`, then the aggregator will gather a job information with ID `JOBID` from the batch system configured in `/conf/config.py` and save it into the configured database as a `pfit-jobinfo` measurement.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment