CentOS performance diagnostics latest tool command set
# View the current system load uptime # view the system status and system resource usage of each process top # visually display the CPU usage htop # view the load information of each CPU mpstat-p all 1 # view disk IO statistics every 1 second iostat-xkdz 1 # view virtual memory usage information every second vmstat 1 # view memory usage statistics free # view network usage information nicstat-z 1 # display optimized tool dstat 1 similar to vmstat # view system activity status, for example, system paging statistics, block device IO statistics, etc. sar # view network connection status netstat-s # view process resource usage information pidstat 1 pidstat-d 1 # view system call information of a process-p is followed by process id, -System Call time after the tttT Process System strace-tttT-p 12670 # Calculate the system call information output by input/output from IO devices strace-c dd if =/dev/zero of =/dev/ null bs = 512 count = 1024 k # tcpdump view network packet tcpdump-nr/tmp/out. tcpdump # block device read/write event information statistics btrace/dev/sdb # iotop view IO operation statistics of a process iotop-bod5 # slabtop view Kernel slab Memory distributor usage information slabtop-SC # system parameter settings sysctl-a # statistical information of system performance indicators perf stat gzip file1 # view system cpu activity status perf record-a-g-F 997 sleep 10