The main reference to this man's article http://elf8848.iteye.com/blog/471676
Do not find after doing, the original Linux server configured a number of network cards, after setting the Djava.rmi.server.hostname property for the current server's IP, you can connect to.Please edit the tomcat/bin/catalina.sh and add the next parameter below the java_opts.java_opts= "-dcom.sun.management.jmxremote.port=port -djava.rmi.server.hostname=XX.XX.XX.XXX - Dcom
BKJIA is just as important as monitoring network traffic and protecting data and computers. Understanding the most basic network fault diagnosis and troubleshooting skills helps you save time and costs. Each Linux release comes with a large number of command line tools to help you diagnose network problems. In addition, there are many open-source tools that can h
What is DODBA tools?DODBA Tools is a console-based remote monitoring tool that does not need to install any software on the local/remote system, it collects real-time performance status data of the operating system, MySQL, InnoDB in real time, and can generate doing log files to help you quickly understand/ Optimized system and MySQL database.Characteristics:
Tomcat Modify Configurationcatalina.sh file Join
Export catalina_opts= "-dcom.sun.management.jmxremote-dcom.sun.management.jmxremote.authenticate=false- dcom.sun.management.jmxremote.ssl=false-djava.rmi.server.hostname=192.168.100.42- dcom.sun.management.jmxremote.port=12345 "2.tomcat/lib Join Catalina-jmx-remote.jar3. Restart Tomcat4. To detect if the client jmx is successful, enter the following comm
want to access it without shutting down the firewall. The 1099 ports need to be published in the Iptables.Shutdown Firewall command: Service iptables stop[[Email protected] sysconfig]# service iptables stopflushing Firewall rules: [ OK ]setting chains to policy A Ccept:filter [ OK ]unloading iptables modules: [ OK ]Add in Etc/sysconfig/iptables:-A rh-firewall-1-input-m state--state new-m tcp-p TCP--dport 1
Monitoring Application Interface: News interface, weather interface Processing method: Automatically restart Tomcat when application interface is not available, and send alert email to relevant people
#!/bin/bash #---------------------------------------------------------# function Description: # MONITOR Specifies whether the HTTP service is available, and if not available, restart
parameter of the Java-gateway configuration file >=zabbix_server The Startjavapollers parameter of the configuration fileClient:Add parameters to JMX in Tomact: Configure at the beginning of the file. # vim $tomcat/bin/catalina.sh catalina_opts= "$CATALINA _opts-dcom.sun.management.jmxremote-dcom.sun.managem ent.jmxremote.port=12345 # JMX Port, default 12345-dcom.sun.management.jmxremote.authenticate=false-dcom.sun.mana gement.jmxremote.ssl=false-dja
The JDK provides us with a range of JVM performance monitoring and troubleshooting tools, which are documented here based on learning progress. Easy to read later1.JPS Virtual Machine Process ToolSimilar to the PS command in Linux systems for viewing virtual machine processes, the following features are commonly usedJps-l Show virtual machine process ID and process main classJps-q shows only the process ID
: Number of bytes sent per secondRXCMP/S: Compressed packets received per secondTXCMP/S: Compressed packets sent per secondRXMCST/S: Multicast packets received per secondb) Sar-n Edev 2 10Linux 2.6.18-53.el5pae (Localhost.localdomain) 03/29/200901:42:18 AM IFACE rxerr/s txerr/s coll/s rxdrop/s txdrop/s txcarr/s rxfram/s rxfifo/s txfifo/s01:42:20 AM Lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.0001:42:20 AM eth1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.0001:42:20 AM sit0 0.00 0.00 0.00 0.00 0.00
When it comes to locating the system, we often need to understand and analyze the runtime state of the JVM. What should be the starting point? The answer is to start with the data. The data here include: GC logs, exception stacks, thread snapshots (threaddump), heap dump snapshots (heapdump), and so on. The JDK is built with a wealth of virtual machine monitoring and analysis tools to use. Can make our trou
1. Add Tasks
There are two types of tasks. One is a single URL that corresponds to multiple keywords. Suitable for monitoring multiple keyword rankings for a single site. The other is a single keyword corresponding to multiple domain names, suitable for a single keyword station group site or competitor website keyword ranking monitoring.
2, selected to build a good task, click on the top right
A fully running Linux system consists of many subsystems (introduction, Cpu,memory,io,network, ...). ), monitoring and evaluating these subsystems is part of the performance monitoring. We often need macroscopic view of the whole system state, also need microscopic look at the operation of each subsystem. Fortunately, we don't have to reinvent the wheel to monitor these subsystems with the
The simplest and most straightforward way to do this is to add the -vv parameter at the start of the memcached to print each client's request and corresponding at the console, which is ideal for development. Another straightforward way to do this is through Telnet, for example: If the server is a native 11211 port, you can usetelnet localhost 11211Log in, and then use stats to view the server status.In addition, the better choice is to use a number of specialized
A fully running Linux system consists of many subsystems (introduction, Cpu,memory,io,network, ...). ), monitoring and evaluating these subsystems is part of the performance monitoring. We often need macroscopic view of the whole system state, also need microscopic look at the operation of each subsystem. Fortunately, we don't have to reinvent the wheel to monitor these subsystems with the
In addition to the integrated VISUALVM and Jconsole, the JVM also has small tools such as JPS, Jstack, Jmap, Jhat, Jstat, etc.Problems that may be encountered in development
OutOfMemoryError, Low memory
Memory leaks
Thread deadlock
Lock contention (lock contention)
The Java process consumes too much CPU
These problems may be overlooked by many people in their daily development (for example, some people encounter the probl
[O M personnel? Why? 01] 20 built-in monitoring tools in Linux: is the top person in O M? Slave 32? Leo? Why does the male reading Qi Shi Jie (shu? /O, CPU, memory, network and other bottlenecks, so the system O M, can not sleep? The following tools are helpful for refreshing your mind ~ (@ ^ _ ^ @)~... [O M personnel? Why? 01] 20 built-in
Linux system monitoring and diagnostic tools-lsof usage Overview 1. lsof introduction lsof is a very practical system-level monitoring and diagnostic tool in linux. It means List Open Files. It is easy to remember that it is a combination of "ls + ~It can be used to list the File Information opened by various processes. Remember: "Everything is a file" in linux,
Article Title: use of commercial server AIX resource monitoring and modulation tools. 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.
Performance Optimization and determining the performance bottleneck in the system are one of the main tasks of the system administrator.
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.