Linux Process management Tools (a): Dstat

Source: Internet
Author: User

Lab Environment:

CentOS Release 6.6 (Final) a single

IP Address: 172.16.249.230

Dstat is a can replace Vmstat , Iostat , netstat and the Ifstat These commands are versatile products. dstat overcomes the limitations of these commands and adds additional functionality, increasing the number of monitoring items and becoming more flexible. the dstat can easily monitor system health and be used for benchmarking and troubleshooting.

A. dstat Introduction and feature Description

Dstat Allows you to see all of your system resources in real time, for example, by counting IDE The current state of the controller to compare disk utilization, or to compare the throughput rate of the disk (within the same time interval) directly over the network bandwidth value.

Dstat you will be given the option information in the form of a list and clearly tell you what the amplitude and unit display output is. This avoids information confusion and false positives better. More importantly, it makes it easier for you to write plug-ins to collect the data you want and expand it in ways you never had before.

Dstat The default output is designed for people to view in real time, but you can also use the details CSV output to a file and import it into the Gnumeric or Excel build the table.

Feature description

Combined with Vmstat,iostat,ifstat,netstat and more information real-time display statistics in analysis and troubleshooting can be written using Python by enabling monitoring items and sequencing the modular design, More convenient to extend existing work tasks easy to expand and add your counter (please contribute to this) contains many of the extensions fully illustrated by the addition of new monitoring items is very convenient to group statistics block device/network device, and gives the total can show the current state of each device is extremely accurate time accuracy, Even higher system load does not delay display display accurately unit and limit conversion error range display different units in different colors display intermediate results delay less than 1 seconds support output CSV format report, and can import into Excel to generate graphics


Two Software Installation

1. Internet download and installation

2.YUM Source Installation

# yum Install dstatloaded plugins:fastestmirror, Refresh-packagekit, securitysetting up installprocessloading Mirrorspeeds from cached Hostfilepackagedstat-0.7.0-1.el6.noarch already installed and latest versionnothing to do



three. dstat parameter Description

Table can not be pasted, I put it up!!! —_—!

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/05/wKiom1R1szvi47t3AAJ226CXqGs142.jpg "style=" float: none; "title=" dstat1-1.jpg "alt=" Wkiom1r1szvi47t3aaj226cxqgs142.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/05/wKiom1R1sz3zW2tcAAK_kfiDlWw288.jpg "style=" float: none; "title=" dstat1-2.jpg "alt=" Wkiom1r1sz3zw2tcaak_kfidlww288.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/04/wKioL1R1s8DRbu0TAADgYkFZr4A925.jpg "style=" float: none; "title=" dstat1-3.jpg "alt=" Wkiol1r1s8drbu0taadgykfzr4a925.jpg "/>


Four. advanced usage of Dstat

#dstat –CDLMNP


Show CPU details of the hard disk, load, memory, network, memory page

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/54/04/wKioL1R1tBfht-uLAAMVkHLyyMU412.jpg "title=" Dstat3.jpg "alt=" Wkiol1r1tbfht-ulaamvkhlyymu412.jpg "/>

#dstat –vmstat


Show processes, memory, memory pages, hard disks, Swap , CPU the use situation

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/54/05/wKiom1R1s3rzKaMaAAIxt-O8TOI618.jpg "title=" Dstat1.jpg "alt=" Wkiom1r1s3rzkamaaaixt-o8toi618.jpg "/>


#dstat –cdnsil–d sda–n eth0


Show CPU , Swap , interrupts process and load conditions and displays details of the specified hard disk and network card

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/54/05/wKiom1R1s-ejCpzhAANTVIuUnEw206.jpg "title=" Dstat2.jpg "alt=" Wkiom1r1s-ejcpzhaantviuunew206.jpg "/>

The following describes the Process management tool (II): the use of htop


This article is from "Dragon Guardian" blog, please make sure to keep this source http://sohudrgon.blog.51cto.com/3088108/1583046

Linux Process management Tools (a): 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.