Discover linux network monitoring commands, include the articles, news, trends, analysis and practical advice about linux network monitoring commands on alibabacloud.com
Pidstat appears to be in some newer versions of the 2.6 kernel, and needs to install the Sysstat package.Under Ubuntu, you can install it via the sudo apt-get install Sysstat.SAR commandCommand:Sar-x PID 1 1000
SAR can also specify the corresponding PID, focus on a fixed number of parameters, not pidstat so powerful. I can't see the corresponding I/O, IR and other information.The functions of the SAR can be covered by Mpstat, iostat and related functions.Dstat commandCommand:Dstat-y--tcp
Linux traditional network configuration command and ip advanced routing command-Linux Enterprise Application-Linux server application information, the following is a detailed description. Knowing how to configure network commands
Linux performance monitoring and Common commands
As a DBA, it is also necessary to have certain Linux server performance monitoring knowledge. Sometimes Oracle database performance problems are caused by server performance bottlenecks. That is to say, from the Oracle perspec
-NATP: Check the corresponding network link, follow Recv-q, send-q, state.Lsof-p pid: Find the corresponding PID file handleLsof-i: 80: Find out which process is consuming the corresponding portLsof/tmp/1.txt: Find out which process is consuming the corresponding fileTcpdump/wireshark: Packet Capture analysis toolA series of Java monitoring commands such as Jstat
Linux performance analysis sar command explanation SAR (system activity Reporter System Activity Report) is currently one of the most comprehensive system performance analysis tools in Linux. It can report system activities from multiple parties, including: file read/write, system call usage, disk I/O, CPU efficiency, memory usage, process activity and IPC-related activities.
Common sar command formats
SAR
CPU load, the CPU should be more service user process, in general, I would like to see the system process accounted for 20% or 30%, user processes accounted for 70% or 80%. If the%usr>80 for a long time indicates that CPU resources are basically consumed by user processes, there is a noticeable bottleneck in the CPU. If the%USR value is rarely >80, the system's possible bottlenecks exist in the middle of the CPU, memory, or I/O. If the%wio value is >15, this is a signal that the disk has a bott
Network command: Ping (Test network connectivity)Network command: Ifconfig (view and set network card information)Note: When viewing the NIC information, enter the Ifconfig command directly.Network command: Last (lists user information for current and past logged-in systems)Network
/local/mongodb/log/mongodb.logmongod 9313 iotweb 8uW REG 252,0 5 778246 /opt/local/mongodb/data/mongod.lockmongod 9313 iotweb 9uw REG 252,0 21 778247 /opt/local/mongodb/data/WiredTiger.lockmongod 9313 iotweb 15u REG 252,0 36864 778253 /opt/local/mongodb/data/sizeStorer.wtIndicator description
Indicators
Description
COMMAND
The name of the process
Pid
Process ID
USER
Proce
Linux performance testing and monitoring sar commands
Sar (System Activity Reporter System Activity Report) is one of the most comprehensive System performance analysis tools on Linux. It can report System activities from multiple parties, including: file read/write, system call usage, disk I/O, CPU efficiency, memory
About NagiosNagios is an open source computer system and network monitoring tool that can effectively monitor Windows, Linux and UNIX host status, switch routers and other network settings, printers, etc. Send mail or SMS alarm when the system or service status is abnormal the first time to notify the site operators, a
1. Lsof Command IntroductionLsof (list open files) is a tool that lists open files for the current system. In a Linux environment, everything is in the form of files, with files that not only access regular data, but also access to network connectivity and hardware. So, such as Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) sockets, the system assigns a file descriptor to the applicati
Wireshark (below we will introduce).TopThe top command displays the current active process, which, by default, is sorted by the severity of the CPU consumed, refreshes the list every 5 seconds, and you can choose a different sort method, for example, M is a shortcut key to sort by memory footprint.UptimeThe uptime command tells you how long this server has been running since booting up to the present time. It also contains the average load from boot to current server.VmstatYou can use Vmstat to
) ├─{MYSQLD} (24689) ├─{mysqld} (27329) └─{MYSQLD} (27331)[10-sar]The SAR command is a Swiss Army knife in the system monitoring tool.The SAR command is actually comprised of three programs, the SAR (for displaying data), SA1 (for collecting data), and SA2 (for storing data).The SAR can cover CPU utilization information, memory paging information, network IO transmission informat
the syntax in the following format:Traceroute website(9) NetstatThe netstat command is used to display network-related information , where the path is/bin/netstat, with the syntax in the following format:netstat [options]where the-t option represents the TCP protocol, the-U option represents the UDP protocol,-L for listening,-R for routing, and-n for displaying the IP address and port number .such as: view the local listening port-----netstat-tlunVie
)
├─{MYSQLD} (24689)
├─{MYSQLD} (27329)
└─{MYSQLD} (27331)
[10-sar]The SAR command is a Swiss Army knife in the system monitoring tool.The SAR command is actually comprised of three programs, the SAR (for displaying data), SA1 (for collecting data), and SA2 (for storing data).The SAR can cover CPU utilization information, memory paging information, network IO transmission information, process creatio
Network Communication commands (relatively simple ):
1. write/usr/bin/write
Write [user name]
Used to send information to a user, provided that the user has logged on to the server host
Otherwise, there is no way to leave a message for him. Therefore, write is a real-time communication tool.
End the communication with Ctrl + D
E.g. write guest
2. wall [write all]/usr/bin/wall
Used to broadcast information t
tools capture separate packages on the link, analyze their content, and display decoded content or packet-level statistics. These tools monitor and manage the network at the lowest level, as well as the most granular monitoring, at the expense of the process of affecting network I/O and analysis.Dhcpdump: A command-line DHCP traffic sniffing tool that captures D
Network Communication commands (relatively simple): 1. writeusrbinwritewrite [user name] is used to send information to the user, provided that the user has logged on to the server host, otherwise, therefore, write is a real-time communication tool
Network Communication commands (relatively simple ):
1. write/usr/bin/w
information. For example, the free command on Oschina performs the result:
Mpstat
Mpstat Mpstat is an abbreviation of multiprocessor statistics, a real-time system monitoring tool. Some statistical information about the report and CPU, which is stored in the/proc/stat file. In a CPUs system, it is not only possible to view the average information of all CPUs, but also to view information about a particular CPU.
Let's look at the results of the M
Network communication commands1. Send a message to a user: write Command name: Write English Original: command path:/usr/bin/write Execute permissions: All user syntax: Wirte 2. Send broadcast message to all users: Wall Command name: Wall English Original: Write all command path:/usr/bin/wall Execute permissions: All user syntax: Wirte 3. Test network connectivity: Ping Command name: Ping English Original
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.