关于本章
本章总结Linux中的常见工具。
Command总览
查询process、thread
查询file:
- open files 动态
- file 静态
process 与 file 之间的映射关系:
- fuser
- lsof
**
stat
vmstat
netstat
在sysstat
中,包含了一系列performance monitor tools,这些tools一般都以**
stat命名:
- iostat (1) reports basic CPU statistics and input/output statistics for devices, partitions and network filesystems.
- mpstat(1) reports individual or combined processor related statistics.
- pidstat(1) reports statistics for Linux tasks (processes) : I/O, CPU, memory, etc.
- nfsiostat(1) reports input/output statistics for network filesystems (NFS).
- cifsiostat(1) reports I/O statistics for CIFS resources.