Discover linux performance monitoring commands, include the articles, news, trends, analysis and practical advice about linux performance monitoring commands on alibabacloud.com
18 Common commands for monitoring network bandwidth on a Linux serverThis article describes some of the Linux command-line tools that you can use to monitor network usage. These tools can monitor data transmitted over a network interface and measure the speed at which data is being transmitted. The inbound traffic is d
need to monitor Linux Server System performance? Try these tools built in or attached to the system below. Most Linux distributions are equipped with a large number of monitoring tools. These tools provide metrics that can be used to obtain relevant information and system activities. You can use these tools to discover
There are a lot of performance tools on the Linux platform, a dazzling, long-term groping and experience finding the best thing to use is the proven, simple gadgets. System performance expert Brendan D. Gregg at the recent LinuxCon NA 2014 conference to update his famous talk (http://www.brendangregg.com/linuxperf.h tml) and slides. and Brendan last year's Tal
There are a lot of performance tools on the Linux platform, a dazzling, long-term groping and experience finding the best thing to use is the proven, simple gadgets. Brendan D. Gregg, a system performance expert, updated his famous talk (Linux performance Tools) and slides o
As an administrator of a Linux system, it is necessary to use specialized system monitoring tools to keep abreast of system resource usage. If you need real-time performance monitoring of Linux systems, applications, and SNMP devices, then the Netdata tool will be a good hel
A good introduction and use of Linux IO monitoring commands.1. System Level IO monitoring IostatIostat-xdm 1 # Personal habits%util indicates how busy the disk is. 100% indicates that the disk is busy and 0% indicates that the disk is idle. Note, however, that disk busy does not represent high disk (bandwidth) utilizat
Guide
Below is a list of the 10 basic network and Monitoring commands that each Linux user should know about.Network and Monitoring commands are similar to these:hostname, Ping,ifconfig, Iwconfig, netstat, nslookup, traceroute, finger, telnet, Ethtool is used to view t
Nmon (named for the Nigel Monitor) is a computer performance system monitoring tool developed by IBM employees Nigel Griffiths for AIX and Linux systems. Nmon can display the operating system statistics on the screen or stored in a data file to help understand the use of computer resources, adjust the direction and system bottlenecks. This system benchmarking too
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 bottleneck.Eight,netstat – Network Status statisticsUsed to monitor network
when sending Ethernet packetsOutgoing packets rate number of Ethernet packets per secondPage-in rate the number of pages read into physical memory per secondPage-out rate writes the paging file per second and the number of pages removed from physical memoryPaging rate reads in physical memory per second or pages written to paging fileSwap-in rate the number of processes being exchangedSwap-out rate the number of processes being exchangedSystem mode CPU utilization percentage of time to use CPUU
Change the nice value of the process to -20# Renice pid N Bsp Change the nice value of the process to 19 second, performance monitoringThe uptime command is used to see how long the server has been running and how many users are logged in to quickly learn about the load on the server.The following is a running instance of uptime:11:07:03 up 2 days, Min, 3 users, load average:0.53, 0.31, 0.25Current Time 11:07:03The system ha
displays socket information, all shows all 5 switches. They can be used alone or together. sar-n DEV each parameter means ifacelan interface rxpck/s packets received per second txpck/s packets sent per second rxbyt/s Bytes received per second txbyt/s bytes sent per second rxcmp/s compressed packets received per second txcmp/s packets sent per second rxmcst/s Multicast packets received per second 9, view command history (with timestamps) export histtimeformat= '%F%T '; history| more10, viewing
Top: view process activity status and some system conditions.
Vmstat: View system Status, hardware and system information, and more.
iostat: View cpu load, hard disk condition.
sar: integrated tool to view system status.
mpstat: View multi-processor status.
netstat: View network status.
iptraf: Real-time network condition monitoring.
tcpdump: Crawl network packets, detailed analysis.
mps
long time is greater than 5, the entire system will slow down, the page cannot be loaded, and other serious problems appear
If it is multi-CPU multicore, and so on, when the load average to the total number of cores, SA (System administration) should be prompted to alarm, developers will have to locate the problem, solve the problem.Four. Possible causes of high indicators
High number of concurrency
Some time consuming operations occupy the CPU (note that the cache is in place
issues, you can determine whether the network device is saturated through the throughput of the network device.9.sar-n tcp,etcp 1The SAR command is used here to view the status of the TCP connection, which includes:
ACTIVE/S: The number of locally initiated TCP connections per second, both of which are created by the Connect call;
PASSIVE/S: The number of TCP connections initiated remotely per second, that is, the TCP connection created through the accept call;
RETRANS/S: Numbe
Please refer to Git:https://github.com/firehol/netdata/wiki for specific netdata introduction.The following only describes the installation and use of Netdata under CentOS:1. Installation of the basic compilation environment required for installing NETDATA:Yum install zlib-devel gcc make git autoconf autogen automake pkgconfig2. Download and install Netdata (requires root access)cd/usr/local/src/(the directory you built is OK, not necessarily under this directory)wget http://firehol.org/download
partition SWPD
Number of wait processes, B increased
Read-write Io,bi Bo increased
Si so greater than 0 starts reading from the hard drive
CPU wait time for IO wait, WA increased
2. Insufficient memory
Start using SWPD,SWPD not for 0
Si so greater than 0 starts reading from the hard drive
3. Io bottleneck
Read-write Io,bi Bo increased by more than 2000
CPU wait time for IO wait, WA increased by more than 20
SY system call time is long, IO
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.