常用xshell命令记录


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

/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中看信息需要在端口下进行






猜你喜欢

转载自blog.csdn.net/qq_42566295/article/details/80852595