14 lines
481 B
Plaintext
Executable File
14 lines
481 B
Plaintext
Executable File
|
|
singularity shell --bind ~/influx_db:/var/lib/ --bind ~/cpu-profiling/influx_s/influxdb.conf:/etc/influxdb/influxdb.conf docker://influxdb
|
|
|
|
|
|
# create database
|
|
#curl -POST http://pg-node045:8086/query?pretty=true --data-urlencode "q=CREATE DATABASE slurm WITH NAME \"default\""
|
|
|
|
# QUERY TESTS:
|
|
#curl -G 'http://pg-node045:8086/query?pretty=true' --data-urlencode "db=slurm" --data-urlencode "q=SELECT * FROM cpu"
|
|
|
|
|
|
# inside container
|
|
# influxd -config /etc/influxdb/influxdb.conf
|