linux下查看线程切换的频率

执行 vmstat

其中的cs项就是每秒的上下文切换数

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.