摘要: 1. 排查空余线程、线程上下文切换情况 先使用 vmstat 测量上下文切换次数。vmstat 命令详解 # vmstat 1 procs memory swap-- io -system-- cpu r b swpd free buff cache si so bi bo in cs us sy 阅读全文
posted @ 2022-12-08 11:18 闲人鹤 阅读(24) 评论(0) 推荐(0) 编辑
摘要: vmstat 命令可以干啥?可以查看内存能使用情况,IO情况、上下文切换次数、CPU情况等。 1. 基础命令: vmstat 2. 其他用法: vmstat [-a] [-n] [-S unit] [delay [ count]] vmstat [-s] [-n] [-S unit] vmstat 阅读全文
posted @ 2022-12-08 10:34 闲人鹤 阅读(300) 评论(0) 推荐(0) 编辑