实时状态监控
sysstat工具包:
- sar: collects and reports system activity information
- iostat: reports CPU utilization and I/O statistics for disks
- tapestat: reports statistics for tapes connected to the system
- mpstat: reports global and per-processor statistics
- pidstat: reports statistics for Linux tasks (processes)
- vmstat: summary information of memory, processes, paging etc.
- nfsiostat-sysstat: reports I/O statistics for network file systems
- cifsiostat: reports I/O statistics for CIFS file systems
另外,如下工具也比较常用:
- top
- ps
- free
- pmap
- pstack
- lsof
程序调试分析工具
Linux下的调试工具如下:
- gdb: GNU Debugger
- gcore: 给运行中的进程产生堆栈
binutils工具包:
- ar
- as
- gprof
- ld
- nm
- objcopy
- objdump
- ranlib
- readelf
- size
- strings
- strip
- addr2line
如下工具也比较常用:
- strace: 系统调用追踪
- valgrind: 内存分析工具
性能分析工具
- perf
网络状态监控及分析工具
- netstat
- ss
- ifconfig
- ip
bind-utils工具包:
- arpaname
- dig
- host
- nslookup
- nsupdate
«Previous: 安装CentOS7.0后的系统配置及软件安装备忘
»Next: nginx配置读取