influxdb基本使用

#启动
nohup /usr/bin/influxd -config /etc/influxdb/influxdb.conf &
#登录
influx -port 8086
#查询所有库名
show databases;
#查询所有表名:
show measurements;
#查询表内容,类似sql语句
select * frm disk_free;
select value from disk_free where “hostname” = ‘server01’ limit 1;


版权声明:本文为u011933777原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。