1. 连接数据库
psql scanner aurora
2. 查询出的表格竖向排列
\x
3. 查询语句
selectcount(*) from assets_node where id >364 and id< 467;
selectcount(*) from assets_host where id >456 and id< 465;
select * from exam_plan where index=18;
4. 重启apache
ps aux|grep httpd
扫描二维码关注公众号,回复:
2238467 查看本文章
/opt/nsfocus/httpd/bin/httpd -DSSL -k restart -f/opt/nsfocus/httpd/conf/httpd.conf
5. 关掉防火墙
iptables –F
6. 退出vim编辑
Esc 键 :q!
7. 重启报表
ps aux|grep reportServer
cd /opt/aurora/python-lib/export_report/
python reportServer.py start
rm /tmp/EREPORT.pid
python reportServer.py start
[generate.py DEBUG 876 ] report generate starting... : 130
在xshell中看信息需要在端口下进行