Logstash 5.0 starts with an API that outputs the metrics and status monitoring of its own processes.
Official documents:Https://www.elastic.co/guide/en/logstash/current/monitoring-logstash.html#monitoring
Node Info APIHttps://www.elastic.co/guide/en/logstash/current/node-info-api.htmlPipeline Gets pipeline-specific information and settings.OS Gets Node-level info about the OS.JVM Gets Node-level JVM info, including info about threads.
Curl-s ' Localhost:9600/_node/pipeline '? prettyCurl-s ' Loca
: Same as uid, but the user name is used;
-Stats:
-Node: defines the name of the current node. It is used when multiple haproxy processes share the same IP address in the HA scenario;
-Description: The description of the current instance;
* Performance Adjustment Parameters
-Maxconn
-Maxpipes
-Noepoll: Disable the epoll mechanism on Linux;
-Nokqueue: Disable the kqueue mechanism on the BSE system;
-Nopoll: Disable the poll mechanism;
-Nosepoll: Dis
Name spaceThe client has a lot of namespaces and can often burst out of the functionality he manages. namespaces correspond to the endpoints of various elasticsearch management. The following is a list of the completed namespaces:
name Space
function
Indices ()
Index-centric statistics and information
Nodes ()
Node-centric statistics and information
Cluster ()
Cluster-centric statistics and information
install Haproxy under Redhat
First view the system kernel version number and system name
Uname-a
Linux rh64pfcrm01kf 2.6.32-358.el6.x86_64 #1 SMP Tue, 11:47:41 EST 2013 x86_64 x86_64 x86_64 gnu/linux
Haproxy Installation
Haproxy official website Download source code installation package http://www.haproxy.org/download/1.7/src/haproxy-1.7.5.tar.gz, and copy the source package to a Linux directory
Perform the following command to install Haproxy
TAR–XZVF haproxy-1.7.5.tar.gz #解压文件
cd haproxy-1
the result less than 0 o'clock, the result will be 0. The "incr" command does not overflow.StateThe command "stats" is used to query the server's running state and other internal data. There are two types of formats. With no parameters:stats\r\nThis will then output the status, setting values, and documentation. Another format with some parameters:Stats Through Various statesAfter being subjected to the "stats
and must be used in batches. Therefore, we do not expect to use statements such as insert into workers values (1, 'jack') to insert data. Hive supports two data insertion Methods: Reading data from files and reading data from other tables (insert from select) where I read data from files. Create a file named worker.csv first
$ cat workers.csv1,jack2,terry3,michael
Use load data to import DATA to Hive tables
hive> LOAD DATA LOCAL INPATH '/home/alex/workers.csv' INTO TABLE workers;Copying data fr
Today, one night did not get a small thing, only to get out of the write append, and still stupid method, at least die.1 Global 2Log 127.0.0.1Local23 Daemon4Maxconn 2565Log 127.0.0.1Local2 Info6 Defaults7LogGlobal8 Mode HTTP9 Timeout Connect 5000msTen Timeout Client 50000ms One Timeout Server 50000ms A option Dontlognull - -Listen stats:8888 the Stats Enable -Sta
spaces.
2. Gets
As you can see, the gets command returns a number (13) more than the common GET command ). This number can be used to check whether the data has changed. When the data corresponding to the key changes, the multiple returned numbers will also change.3. CAS
CAS indicates checked and set. It can be stored only when the last parameter matches the parameter obtained by gets. Otherwise, "exists" is returned ".
Iii. STATUS Command 1. Stats
receiving function. After the network adapter is bound, all data packets are transmitted from this function as the entry to openvswitch for processing. // This is the entry point of openvswitch. Parameter vport: port from which the data packet comes in; parameter SKB: Packet address pointer void ovs_vport_receive (struct vport * vport, struct sk_buff * SKB) {struct pcpu_tstats * stats; // In fact, this thing has not been clearly understood. The gener
: DefaultSample: -- ipratio 1.30
-- Chroma-QP-offset Note: The QP difference between chroma and Luma will be automatically adjusted to-2 with the use of -- psy-RdRecommended Value: DefaultExample: -- chroma-QP-offset 0
-- AQ-mode -0: Disabled-1: variance AQ (complexity mask)Note: The adaptive quantization method can improve the problem of over-blur in some scenarios. It is enabled by default.
-0: Disable-1: Variable AQRecommended Value: DefaultExample: -- AQ-mode 1
-- AQ-Strength Textured areas.
you can see, the gets command returns a number (13) more than the common GET command ). This number can be used to check whether the data has changed. When the data corresponding to the key changes, the multiple returned numbers will also change.3. CAS
CAS indicates checked and set. It can be stored only when the last parameter matches the parameter obtained by gets. Otherwise, "exists" is returned ".
Iii. STATUS Command 1. Stats
2.
What is MemcacheMemcache is a high-performance distributed memory object caching system that can be used to store data in a variety of formats, including images, videos, files, and the results of database retrieval, by maintaining a large, unified hash table in memory. Memcache is a danga.com project, first for the LiveJournal service, initially in order to speed up LiveJournal access speed and developed, and later by many large Web sites. At present, many people around the world use this cache
. When you don't know the statements, you can use the mysql statements. Except limit, this will be explained later.
hive> show tables;OKh_employeeh_employee2h_employee_exporth_http_access_logshive_employeeworkersTime taken: 0.371 seconds, Fetched: 6 row(s)
After the creation, we try to insert several pieces of data. Here we want to tell you that Hive does not support single-sentence insert statements and must be used in batches. Therefore, we do not expect to use statements such as insert into
exist can return different results.
Second, read the command
1, get
The key of the GET command can represent one or more keys, separated by a space between the keys
2, gets
As you can see, the gets command returns a number more than the normal get command (13 in the figure above). This number checks to see if the data has changed. When the key corresponds to the data change, the more returned number will also change.
3. CAs
CAs, meaning checked and set, can be stored only if the la
.
Second, read the command1, get
The key of the GET command can represent one or more keys, separated by a space between the keys
2, gets
As you can see, the gets command returns a number more than the normal get command (13 in the figure above). This number checks to see if the data has changed. When the key corresponds to the data change, the more returned number will also change.
3. CAs
CAs, meaning checked and set, can be stored only if the last parameter matches the parameters obt
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.