Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfluxDB CLI commands & Grafana #12

Open
junh-ki opened this issue Oct 26, 2020 · 0 comments
Open

InfluxDB CLI commands & Grafana #12

junh-ki opened this issue Oct 26, 2020 · 0 comments

Comments

@junh-ki
Copy link
Owner

junh-ki commented Oct 26, 2020

InfluxDB

$ 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

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

@junh-ki junh-ki changed the title InfluxDB CLI commands InfluxDB CLI commands & Grafana Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant