Linux High Performance Server programming-system detection tools

Source: Internet
Author: User


System Detection Tools


tcpdump


tcpdump is a classic subcontracting tool, tcpdump There are a number of options available to the user, the swimsuit filter datagram or the custom output format.


lsof


lsof is a tool that lists the file descriptors that are open by the current system. It allows us to understand which file descriptors are open by the process of interest, or which process the file descriptors we are interested in are clocked in.


NC


NC commands are primarily used to quickly build network connections. We can make it run as a server, listen on a port and receive client connections, so it can be used to debug client programs. We can also make it run as a client, initiate a connection to the server and send and receive data, so it can be used to debug a server program.


Strace


Strace is an important tool for testing server performance. It tracks system calls and received signals that are executed during the program's run, and outputs the system call name, parameters, return values, and signal names to standard output or to the specified file.


netstat


nets Tat < Span style= "font-size:14px" is the first of the above features, which shows the tcp connection and its status information. After all, to get the routing table information and Nic interface information, we can use a richer output of the route ifconfig command.


Vmstat


Vmstat is a virtualmemory Statistics , it can output the usage of various resources of the system in real time, such as process information, memory usage, CPU usage rate and I/O use cases.


Ifstat


Ifstat is a Interfacestatics abbreviation, it is a simple network traffic monitoring tool.


Mpstat


Mpstat is the acronym for Multi-processorstatistics, which enables real-time monitoring of each of the multi-processor systems CPU use of the case.


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.