$ sudo service influxdb start
$ sudo service influxdb restart
$ sudo service influxdb stop
CREATE DATABASE dias_kuksa_tut
DROP DATABASE dias_kuksa_tut
SHOW DATABASES
USE dias_kuksa_tut
INSERT x_coordinate,host=tscr_good value=0.0
INSERT x_coordinate,host=tscr_good value=0.0 1603705624629520572
SELECT FROM x_coordinate
SELECT FROM total_sampling_time WHERE "host"='total_sampling'
SHOW MEASUREMENTS
DROP MEASUREMENT x_coordinate
exit
$ docker exec -it be472f45029e /bin/bash # be472f45029e here is the container id of influxdb
InfluxDB
$ sudo service influxdb start $ sudo service influxdb restart $ sudo service influxdb stop
$ docker exec -it be472f45029e /bin/bash # be472f45029e here is the container id of influxdb
Grafana
$ sudo apt install net-tools $ sudo netstat -anp tcp | grep 3000 $ sudo kill 13886
$ sudo service grafana-server start $ sudo service grafana-server status $ sudo service grafana-server stop