Dstat is an all-in-one System information statistics tool that you can use to replace Vmstat, Iostat, netstat, and Ifstat commands. It was written by Python. The Dstat is dynamically displayed in a color-coded interface, which is more visible and easy to observe.
Dstat Installation
Yum Install-y Dstat
Dstat use
Dstat [-AFV] [Options ...] [Delay [Count]]
Simple execution dstat 3 5 executes 5 times, 3 seconds each interval
With no parameters, the input dstat is equivalent to Dstat-cdngy 1, collected every 1s, collecting only cpu,disk,network,paging,system status information
Dstat commonly used parameters
-C,-CPU: Show CPU condition-c 0,3,total include Cpu0, CPU3 and total: If there is more than one CPU, you can specify CPU or all cpu-d,-disk: Display disk condition-D total, hda I Nclude HDA and total: Show all disks in case-G,-page enable Pagestats: Display the In/out status information for the page-I,-int enable interrupt stats: Enable NIC interrupt statistics-L,-loa D Enable loadstats: Display System 1-minute, 5-minute, 15-minute average load-m,-mem: Display memory condition-N,-net: Display network condition-n eth1,total: Display specified network interface-p,-proc enable process S Tats: Enable status of the process display-S,-swap: Show swap condition-s swap,total: You can specify multiple swap-t,-time enable Timecounte: Displays the current system time--IPC: Reports on the use of IPC Message Queuing and semaphores--lock enable Lockstats: Displays information about the various status locks of the system--raw enable raw stats: Displays status information for bare devices--tcp enable TCP stats: Display TCP connections Status information--udp Enable TCP stats: Displays status information for UDP connections-m STAT1,STAT2 enable internal stats and external plugin stats: shows some additional status information-A,-al L: Using the default-cdngy-f,-full: Using-C,-D,-I,-N and-s display-V,-vmstat: Use-pmgdsc-d to display--noheaders: Show only once the header is not displayed, Useful for writing files with redirects--output file: Writing results to a CVS file
Linux Performance Monitor-dstat