Process Management Htop, Glances,dstat

Source: Internet
Author: User

1. HTOP

Purpose: For the management of processes on Linux, provide a complete list of processes, color to identify the processor, swap and memory status.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/01/wKioL1SO5lPzhwFNAAPNO7axXGE490.jpg "title=" 12345. PNG "alt=" wkiol1so5lpzhwfnaapno7axxge490.jpg "/>

Where F1: Help F2: Set F3: Search process F4: Incremental process F5: Tree structure display F6: Choose Sort by F7: Reduce process priority F Priority 8: Increase process F9: input signal to process, F10,: Exit Htop,

Common commands:

u: Select the process for the specified user

L: Show the list of files opened by the process

S: Shows the system calls performed by the process

A: Bind the process to the specified CPU

#: Quickly position the cursor on the specified PID process

Ctrl + L Refresh

2. Glances

1. Use: is a cross-platform monitoring tool that can monitor CPU, load, memory, disk IO, network traffic, file system, and system temperature.


         2. Common interactive directives:

                A automatically sort the process

               c Sort by CPU usage percentage

               m by memory usage

               p Sort by process pid

               i sort by IO device

               D Show or hide disk output data

              F Show or hide file system data

n Show or hide data from the network

L Show or hide logs

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/04/wKiom1SO6AeTV31iAAKpIMl7N_k699.jpg "title=" 2345. PNG "alt=" wkiom1so6aetv31iaakpiml7n_k699.jpg "/>

Glances-t 5 indicates a 5-second update.


3. Dstat

Purpose: Used to generate the system resource Status report = (Vmstat+iostat+netstat+nfsstat+ifstat)

The default is 1 seconds to collect-cpu-,-disk-,-net-,-paging-,-system-data

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/04/wKiom1SO6ePhhQFVAAISFJCdt9M017.jpg "title=" 3456. PNG "alt=" wkiom1so6ephhqfvaaisfjcdt9m017.jpg "/>

-C Statistics CPU status

-D Statistics disk status

          -D statistics Specify disk or summary information

          -L statistics system load, including 1-minute, 5-minute, 15-minute averages

          -M statistical system physical memory usage

          -s statistics swap used and remaining amount

          -N Statistics network usage

          -R statistical I/O requests, including read-write requests

          -P statistics process information, including runnable, uninterruptible, new

          -y statistics System Information

          -T display statistics time

        --TOP-CPU View CPU usage process

--top-mem viewing the most occupied processes

To view the maximum IO and CPU:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/04/wKiom1SO7XjjlubjAAD5Umm62jg769.jpg "title=" 45678. PNG "alt=" wkiom1so7xjjlubjaad5umm62jg769.jpg "/>








Process Management Htop, Glances,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.