Dstat monitoring under Linux

Source: Internet
Author: User

Dstat
If the system does not have some tools yum-y install Dstat installation is complete, this software is small, package size is only 144k, installation size 660k.
This tool will dynamically display the Cpu,disk,net,page,system load situation by default, as shown below, of course there will be different colors marked, or more intuitive, for the moment the direct copy make a look, but also hope you crossing Haihan, never shoot bricks.

[[Email protected]]# dstat
----total-cpu-usage-----dsk/total--net/total----paging-----system--
USR sys IDL Wai hiq siq| Read writ|  Recv send| In-out | int CSW
10 1 89 0 0 0|   76k 339k|   0 0 | 0 0 | 208 686
16 3 82 0 0 0| 0 280k|   126k 125k| 0 0 |1058 500
12 2 86 0 0 0|   0 192k|4600b 6204b| 0 0 |1037 338
14 2 83 0 0 0|   0 0 |5042b 2648b| 0 0 |1029 277



Common parameters

-C CPU is also, display CPU system occupation, user occupation, Idle, wait, interrupt, software interrupt and other information

-C when there is more than one CPU, this parameter can display the CPU state separately on demand

E.g-c 0,1 display cpu0 and CPU1 information

-D disk is also, displays the disks read and write data size

-D HDA and Total

-N NET Display network status

When n-Net has multiple NICs, specify the network card to display

-L load average displays system load conditions

-M memory shows the usage of RAM

-G page display usage of pages

-P process to show the status of processes

-S swap shows swap partition usage

-S similar to d/n

-R I/O request condition

-Y System Status

--IPC Display IPC Message queue, signal, etc. information

--socket used to display TCP UDP port status

-A All this is the default option equivalent to-cdngy

-V Vmstat equivalent to-pmgdsc-d total

--output files This option is also useful for redirecting status information to the specified file in CSV format for later viewing. e.g Dstat--output/root/dstat.csv & Now let the program silently run in the background and output the results to the/root/dstat.csv file



1. CPU:hiq,Siq are hard interrupt and soft interrupt number respectively.

2. System:int,CSW is the number of interrupts (interrupt) and Context switches ( Context Switch)


This article is from "Ghost" blog, please make sure to keep this source http://caizi.blog.51cto.com/5234706/1545005

Dstat monitoring under Linux

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.