vmstat 1:查看block in(bi),block out(bo),interrupt(in),context switch(cs)

pidstat -w 1:查看每个进程的context switch(cswch)

可能发现某些进程上下文切换特别频繁,导致load变高

 

参考文献:

http://www.361way.com/linux-context-switch/5131.html

 

相关文章:

  • 2021-11-11
  • 2021-12-27
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2021-10-06
猜你喜欢
  • 2021-10-24
  • 2021-12-18
  • 2021-12-06
  • 2021-11-28
  • 2021-12-10
相关资源
相似解决方案