Linux Analytics-Common Command Summary __linux

Source: Internet
Author: User
Tags memory usage

Total CPU Utilization---vmstat per CPU core Utilization---MPSTAT CPU utilization per process---top/pidstat information source:/proc/stat and/proc/$pid/stat
CPU mpstat/top/pidstat MEM free,/proc/meminfo,/proc/$pid/maps NET sar/ethtool/tc/netstat IO iostat/iotop
Lsof (list open files) is a tool that lists the current system open file

Top enables real-time display of resource usage for each process in the system the Htop:htop command shows the real-time memory usage for each process. It provides reports on the resident memory size, total program memory size, shared library size, and so on for all processes. The list can scroll horizontally and vertically. Pmap-d 5647 can view the memory usage of process-related information according to the process (the process number can be viewed through PS) as shown below






Free: View memory under Linux Our general free command free command is a quick way to view memory usage, which is an overview of the information gathered by/proc/meminfo. Cat/proc/meminfo read out the kernel information to explain


Netstat TCP packet loss and link loss packet


Lsof

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.