Htop,glances,dstat Tools Summary

Source: Internet
Author: User

Htop is an interactive process viewer

First piece
1: First CPU Utilization 2:Second CPU Usage3:Third CPU Usage4:Fourth CPU UtilizationMem: Memory usage swap: Swap space usage second block
Tasks: Total number of processesNumber of Threads  Load Average:1min5minaverage load before 15minUptime: Third block of system boot time?
PID: Process ID
User: The owner of the process PRI: Priority Ni:nice is used to adjust the user priority, the smaller the -20~19,nice priority, the higher the root user can increase the priority (Nice reduction), the average user can only lower the priority (Nice increase) VIRT (virtual Storage usage): Virtual memory res (resident): Resident memory shr: Shared memory S (state): Running status of the process
S: Sleeping (Idle) R: Running D: disk Sleep (uninterruptible) Z:Zombie (Waiting for parent to read it's exit status)
T:traced or suspended (e.g by SIGTSTP)
W:Paging
CPU%:CPU usage mem%: Memory usage time+: Program from power-on to now CPU-intensive command: program name and parameter fourth block
F1: Getting HelpP: Sort by CPU occupancy percentage
M: Sort by memory consumption percentage
T: Sort by consuming CPU Shichanglai
arrows: By the left and right arrows to move, you can also select by the mouse    F2: Htop interface and display some special custom F3: Query F4: Filter F5: Display F6 as a process tree: Sort option F7:nice value priority increased, value decreased F8:nice value priority decreased, value increased F9: End process F10: Exit


glances cross-platform monitoring tools
Interface Block related information 1, CPU utilization2, respectively display the load situation when 1min,5min,15min 3,memory usage,Active: Memory for Cache
inactive: Not often used to tell cached memory
buffers:
Cached:
4, Swap space usage 5, network I/O speed, transmission and read/write ratio 6,disk I/O speed, transmission, and read/write ratios7, display the system status information,Disk Mount conditions8. Process-related Information shortcut key A: automatic sortingC: Sort by CPU usageM: Sort by memory utilizationP: Sort by process name I: Sort by I/O limit d: Show or hide disk I/O status f:show/hide file system stats, Show or hide mount information n: Show or hide network status (unknown) s: Show or hide sensor status (unknown) Y: Show or hide hard drive temperature status (unknown) L: Show or hide log (unknown) B:byte or bits display network i/ Ow: Delete warning record (unknown) x: Delete Warning and critical record (unknown) 1: Global CPU or per CPU state (unknown) H: Show or hide window help T:view network I/O as combination, showing the sum of the networks I/O sent and received U:view Cumulative network I/O, displaying information about the cumulative I/O Q: Exit


dstat common tools for generating resource information
Dstat [-AFV] [options:] [Delay [Count]]
[Options]
-
C,--cpu:cpu status (user, System, idle, wait, hard interrupt, soft interrupt)-C 0, 3: (Information of cpu0 and CPU3)-D,--Disk: The status of the disks (read, write)-G,--page: Pages status (in, out)-I,-- int: interruptible state-L,--load:1,5,15min interrupt status-M,--Men: Memory state (used, buffered, cached, idle)-P,--proc: Process state (running, non-interruptible, new)-R,--io:i/o status (read, write request)-s,- -swap:swap partition state (used, idle)-T,--time: Date (day-month time-minute-second)-y,--sys: System state (interrupt, Context switch)--aio: Display asynchronous IO Statistics--IPC:IPC related information (information queue, semaphore, Shared memory)--raw:raw SOCKET--TCP:TCP socket (listen, established, SYN, TIME_WAIT, close)--udp:udp socket (Listen, Active)--socket:socket state (total, TCP, UDP, Raw, ip-fragments)--unix:unix sock (datagram, stream, listen, Active)--TOP-CPU: Displays the CPU-intensive process--top-bio: Displays the process that most consumes block IO--top-mem: Shows the most memory-intensive process--top-io: the process that most consumes IO
           

Htop,glances,dstat Tools Summary

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.