一、查看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';

相关文章:

  • 2021-07-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2022-02-28
  • 2022-12-23
猜你喜欢
  • 2021-08-03
  • 2022-02-09
  • 2022-12-23
  • 2021-11-19
  • 2021-07-29
  • 2022-01-17
  • 2021-07-09
相关资源
相似解决方案