Alibabacloud.com offers a wide variety of articles about aix performance monitoring commands, easily find your aix performance monitoring commands information here online.
of setting method and level, one is by adding –slowms boot parameter configuration. The second is to invoke Db.setprofilinglevel with the second argument:
Db.setprofilinglevel (level, SLOWMS)
2. Query Profiling Records
Unlike MySQL's slow query log, the MongoDB profile record is directly present in the system DB, and the record location is System.profile, so we'll just have to check the collection record to get our profile records. List profile records with execution times longer
Linux for viewing process commands are also very powerful, commonly used such as: PS TopBut there is less uniformity in disk performance monitoring.Here are some of the disk monitoring commands, here just to play a role, detailed use of parameters please refer to the Man manual.One DFThe DF command can get information
/
[Root @ localhost bin] # Start apachectl
[Root @ localhost bin] # Stop apachectl stop
4) Access
Http: // your IP addressAddress: Port/C-server-status
Http: // your IP addressAddress: Port/C-server-Status? Refresh = N
NIt indicates that the access status page can beNAutomatically refresh once in seconds
Use command monitoring in Linux
In addition to the above method for performance
Sysstat The sysstat package contains utilities to monitor system performance and usage activity. sysstat contains varous utilities, common to collect commercial unixes, and tools you can schedule via cron to collect and historize performance and activity data.
Http://sebastien.godard.pagesperso-orange.fr/features.html
Download and install from the above site
Including iostat (1) mpstat (1) pidstat (1)
have not used this!
Press! You can use the shell command, this is useless! I don't know what command works here!
Press Q to exit monitoring.
Network performance.
#1: top– Process Activity Status
The top command provides a dynamic, real-time view of the running system, such as system processes, memory, and CPU consumption. By default, top displays the process used by the CPU, updated every 5 seconds.
Article Title: Linux performance monitoring and tuning (CPU ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In fact, there are many articles on this part on the Internet. Why is this article still available? There are several reasons why it is the motivation of my tra
Linux Performance Testing commands are commonly used in linux performance testing.
Linux tcpdump command details
Linux strace command
Strace is often used to track system calls and received signals during process execution. In the Linux World, processes cannot directly access hardware devices. When a process needs to access hardware devices (such as reading di
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
This article focuses on performance performance monitoring on Linux (CentOS).
1. Monitor CPU Usage--uptime
The command will print out how long the current time system has been running. Average system load of logged on users
The load here is per unit of time, the CPU waits in the queue, evaluates how many processes are waiting, the more processes
If you are looking for a very easy-to-use Linux performance monitoring tool, I strongly recommend installing and using the Nmon command line utility.
Nmon Monitoring Tool
Nmon is a system administrator tuning and benchmarking tool that displays performance data for the following:
Processor
Memory
Network
Disk
The PCP tool is a very powerful performance analysis monitoring tool introduced in RHEL7/CENTOS7, citing its official site and Red Hat official introduction: Performance Co-pilot (PCP) is an open source, distributed, Metrics gathering and analysis system. This is includes coverage of activity in the areas Of:cpu, disk, memory, swapping, network, NFS, RPC, filesys
Netstat same usageNetstat-an |awk '/^tcp/{++sta[$NF]} END {for (key in STA) print key, "\ T", Sta[key]} ' can view all states(if the established is large, the system is busy, usually within 1000)Five, Linux under Grab Bag (tcpdump)Tcpdump-nn the first n means that the IP is displayed in digital form, if the hostname is not displayed,Look at the flow of data.Usually TCP, if you see a packet of UDP can be attacked. (DDOS UDP flood flood attack, if you encounter this can only access professional a
process (in kilobytes)%MEM: Percentage of memory used by the processCommand: Pull up the commands corresponding to the process4) Monitoring the PID 1 (INIT) Process task switching situation, which refreshes and outputs every 2 seconds, 3 times after the program exits.Pidstat-p 1 2 3-w07:32:15 AM PID cswch/s nvcswch/s Command07:32:17 AM 1 0.00 0.00 Init07:32:19 AM 1 0.00 0.00 Init07:32:21 AM 1 0.00 0.00 Ini
-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/jmap/jstack/jpsAt lastIf you want to do some
item.bin)The screen displays "Server is ready." Prompt, the user types http://localhost:7000/in the browser to see the results of the analysis, as shown in: Jstack:java Stack Trace Tool the Jstack (Stack Trace for Java) command is used to generate a thread snapshot of the current moment of the virtual machine (commonly referred to as a threaddump or Javacore file). A thread snapshot is a collection of method stacks that each thread in the current virtual machine is executing, and the prim
]# php ss_get_by_ssh.php--type mongodb--host 10.254.3.62--port2 30000--items JC,JDJc:4 jd:5497683968 5, generate the monitor diagram In the interface, select "Device", select the MongoDB server Connection "3.x2_mongodb", then select "Create Graphs for this Host" in the upper right corner, select the MongoDB service item in the dropdown box after "Graph Types", You will see the MONGODB monitoring service in the list, then tick the "Create" button in th
data is written to the CSV file. stored on the phone at the same time5, can choose to open the floating window function, floating window real-time display measured application occupancy performance data information6, in the floating window can be high-speed start or turn off the phone's WiFi network002.pngTwo tools more similar function, the latter one more traffic monitoring, the advantage is only need to
CPU Performance Metrics
1. Ratio of CPU used by user process
2. Ratio of CPU used by system process
3. Wio, waiting for I/O but the CPU is in idle state ratio.
4. CPU Idle Rate
5. CPU Ratio for context exchange
6,nice
7,real-time
8, run the length of the process queue
9, average load
the common tools for monitoring CPU performance under Linux are
1. Iostat
Only
Linux system performance and use of activity monitoring tool-Sysstat
Sysstat is indeed a convenient tool for monitoring system resources, system performance, and usage activities. The sysstat package is used more or less in our daily basic tools. It also provides a tool that can use cron for scheduled operation to coll
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.