Pstree,ps,top,htop,vmastp,pmap,glances,dstat Process Management Tool Introduction

Source: Internet
Author: User
Tags network function

Htop,glances,dstat Process Management tool Introduction

1. Htop Tools

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6B/76/wKioL1UuaIzBiKRbAAeOq7OBvzI310.jpg "title=" Image 0415 (2). jpg "alt=" wkiol1uuaizbikrbaaeoq7obvzi310.jpg "/>


Htop Common Interactive Commands

M: in Memory Sort

P: in CPU Occupation ratio Sort

T: in CPU time-consuming sorting

u: filter only shows processes for selected users:

S: tracks system calls initiated by the selected process;

L: displays files opened by the specified process

T: Show Process tree format

A: binds the selected process to the specified CPU on


2, Glances:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6B/7B/wKiom1UuZ7KDlQs7AAYNOhiiAlM117.jpg "title=" Image 0415 (3). jpg "alt=" wkiom1uuz7kdlqs7aaynohiialm117.jpg "/>

GLANCES[-BDEHMNRSVYZ1] [-B bind] [-C Server] [-C conffile] [-P port] [-P password][--password] [-t refresh] [-f file] [-O Output

Common options:

- B: in byte/s Display network card device data exchange rate for units;

- D: Close Disk I/O function module;

-f/path/to/somefile : Set the location and format of the output file;

-O {html| CSV}:

- m: Close Mount function Module

- N: Turn off the network function module

- R: Close the Process List feature module

- t #: Specifies the length of the delay, which defaults to 3 seconds;

-1 : Each individual display CPU relevant load data information;

glances Remote mode support

Service-side Mode

Glances–s–b ipaddr

Client mode

Glances–c ipaddr

3, Dstat Tools

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6B/7B/wKiom1UuZ-bDbh0sAAE4ML2PNuM966.jpg "title=" Image 0415 (4). jpg "alt=" wkiom1uuz-bdbh0saae4ml2pnum966.jpg "/>

Dstat: integrates the Vmstat, Iostat, netstat andifstat Four tools of the function;

Dstat [-AFV] [options:] [Delay [Count]]

C: Show CPU statistical data related to performance indicators;

- D: Show Disk correlated rate data;

- G: Show page correlated rate data;

- I.: Show Interrupts Interrupt correlated rate data;

- L: Show average Load Load Average ( a) relevant statistical data;

- m: Show Memory ( a) relevant statistical data;

- N: shows the rate of data sent and received by the network;

- N: displays the rate at which the specified NIC is sending and receiving data ETH

- P: Show Process (non- disruptive processes and new processes ) the relevant statistical data,

-r:io The rate of the request;

- S: Show Swap the relevant data

- y: Display System-related data, including interrupts and process switching;

--top-cpu : Displays the most occupied CPU the process;

--top-bio : Displays the most consumed Block IO the process;

--top-io : Most occupied io the process;

--top-mem : Displays the most memory-intensive processes;

--IPC: shows the rate data related to interprocess communication;

msg Signal SHM Shared Memory

--aio: Asynchronous IO

--raw: Show Raw The relevant data of the socket;

--tcp: Show TCP data related to sockets;

--UDP: Show UDP data related to sockets;

--unix: Show Unix sock interface-related statistical data;

--socket: Show        

-a:-cdngy



Pstree,ps,top,htop,vmastp,pmap,glances,dstat Process Management Tool Introduction

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.