Performance Testing Tool Dstat

Source: Internet
Author: User

The DSTAT command collects system information such as CPU, disk, NET, system, memory, process and so on, the function is stronger than Vmstat, one command can integrate uptime, Vmstat, top and other related information;


Install dstat command: Yum install-y dstat


Execute the dstat command to collect data from-cpu-、-disk-、-net-,-paging-、-system-by default, once a second. The default input dstat equals input dstat-cdngy 1 or dstat-a 1;


If we execute the dstat 5 command, he collects the information every 5 seconds.


The same dstat can also collect specified performance resources. You can see the corresponding parameters using Dstat-h.

[Email protected] ~]# dstat-h

Usage:dstat [-AFV] [options:] [Delay [Count]]

Versatile tool for generating system resource statistics

Dstat options:

-C,--cpu Enable CPU stats display CPU status

-c 0,3,total include Cpu0, CPU3 and Total

-D,--disk enable disk stats Displays the status of the disks (read/write)

-D Total,hda include HDA and total-d can specify a disk after

-G,--page enable page stats display status

-I,--int enable interrupt stats show interrupt status

-I 5,eth2 include int5 and interrupt used by eth2

-L,--load enable load stats display system load

-M,--mem enable memory stats display

-N,--net enable networking stats network traffic

-N eth1,total include eth1 and total specify a network interface

-P,--proc enable process stats progress status

-R,--io enable IO stats (I/O requests completed)

-S,--swap enable swap stats swap partition status

-s swap1,total include SWAP1 and total can specify multiple swap

-T,--time enable time/date output display system date and time

-T,--epoch enable time counter (seconds since epoch)

-Y,--sys Enable system stats displays the status of the systems information

--aio Enable AIO Stats

--FS,--filesystem enable FS stats

--IPC Enable IPC Stats reports the use of IPC Message Queuing and semaphores

--lock Enable lock Stats

--raw Enable raw Stats

--socket Enable socket stats

--TCP Enable TCP Stats

--UDP Enable UDP stats

--unix Enable UNIX Stats

--VM Enable VM Stats

--plugin-name Enable plugins by plugin name (see manual)

--list list all available plugins list available plugins

-A,--all equals-cdngy (default) defaults to display

-F,--full automatically expand-c,-D,-I,-n and-s lists

-V,--vmstat equals-pmgdsc-d Total is the same as the information Vmstat executes;

--BW,--blackonwhite change colors to white background terminal

--float force float values on screen

--integer force integer values on screen

--nocolor Disable colors (implies--noupdate)

--noheaders Disable repetitive headers only once the header is displayed and is useful when writing to a file using redirection

--noupdate Disable Intermediate Updates

--output file write CSV output to file is written to the CVS file


Aliases alias dstat= ' Dstat-cdlmnpsy '


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/82/1D/wKiom1dL9ejD9POEAACmYmgXffY838.jpg "title=" Qq20160530153906.jpg "alt=" Wkiom1dl9ejd9poeaacmymgxffy838.jpg "/>

This article is from the "Model Student's Learning blog" blog, please be sure to keep this source http://mofansheng.blog.51cto.com/8792265/1784493

Performance Testing Tool Dstat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.