每种平台的工具都有些不一样,那么在linux或unix 平台有哪些手段可以作为利器在问题诊断时比较好用,效果比较好的? 可以具体到某一个具体参数等等。
收起最常用的
实时类
linux:ps top
aix:topas
分析类:nmon最好
另外其他的工具也很多,各有用途
CPU分析
vmstat,iostat, ps, sar, gprof/prof/tprof,time/timex, netpmon,locktrace,emstat,alstat,topas,trace, trcrpt,curt,splat,truss,procstack等
CPU优化
procmon,larstat,mpstat,cpupstat,nice/renice,schedo,bindprocessor,chdev,setpri,bingintcpu,procmon
工具本身就很多,参数的话,就不一一介绍了