Linux System Analysis Command summary

Source: Internet
Author: User

1, Top: real-time display of the process in the system resource consumption status

2. Iostat: Displays the IO load status of the system device. -X common options for displaying and IO-related extended data

3, netstat: Display various network related information, such as network connection, routing table, interface status (Interface Statistics), masquerade connection, multicast member (multicast memberships), etc.

4, SAR: Display system activities, including: Read and write the file, the use of system calls, disk I/O,CPU efficiency, memory usage, process activities and IPC-related activities, etc.

5, the use of OPROFILE:CPU status.

Initialization

    • Opcontrol--no-vmlinux : Indicates that the kernel module, kernel code-related statistics are not recorded after oprofile boot detection
    • opcontrol--init : Load oprofile module, oprofile driver

Detection control

    • Opcontrol--start : Indicates oprofile start detection
    • Opcontrol--dump : Indicates that Oprofile detected data is written to the file
    • Opcontrol--reset : Clears previously detected data records
    • opcontrol-h : Close the oprofile process

View Test Results

    • opreport : Display detection results in image view, process, dynamic library, kernel module belong to mirror category
    • opreport-l : Displaying the test results at a functional angle
    • opreport-l Test : Displays the test results for the test process at the point of view of the function
    • opannotate-s Test : Displays the test results for the test process in Code view
    • opannotate-s/lib64/libc-2.4.so : Display test results for libc-2.4.so Library in Code view

6, PS: System Current process status

7. Free: Monitor system memory

8. Cat/proc/meminfo View System memory usage

9. Du: View file consumption disk status

10. DF: System disk space status

Linux System Analysis Command 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.