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.