Collectl基础

Collectl比nmon更专业和深入的linux性能测试工具

首先是安装

$ sudo apt-get install collectl

直接输入collectl就可以看到数据

默认是CPU,硬盘,网络

运行

$ collectl -all

后面具体参数

  1. b – buddy info (memory fragmentation)
  2. c – CPU
  3. d – Disk
  4. f – NFS V3 Data
  5. i – Inode and File System
  6. j – Interrupts
  7. l – Lustre
  8. m – Memory
  9. n – Networks
  10. s – Sockets
  11. t – TCP
  12. x – Interconnect
  13. y – Slabs (system object caches)

贴一下collectl的官网:

http://collectl.sourceforge.net/index.html

原文地址:https://www.cnblogs.com/goldenRazor/p/4825299.html