一、查看linnux服务器连接数
服务器接见人数可以通过下令: netstat -pnt | grep :80 列出,
好比此时请求服务器上一个页面,通过该下令可以查看效果,后面的ESTABLISHED示意服务器正在被接见,
可以通过添加 wc -l 统计数目,最终下令是: netstat -pnt | grep :80 | wc -l 此下令可以统计服务器所有url被请求的数目
二、Oracle表和索引剖析
select ‘analyze table ‘||owner||’.’||table_name||’ compute statistics;’ from dba_tables where owner=’sdfrdj’;
select ‘analyze index ‘||owner||’.’||index_name||’ compute statistics;’ from dba_indexes where owner=’sdfrdj’;
原文链接:https://www.cnblogs.com/BobXie85/p/12878547.html
本站声明:网站内容来源于网络,若有侵权,请联系我们,我们将及时处理。