Problem Encountered: Nagios monitors local information of remote host linux, such as memory, cpu, and load.
Solve the problem: NRPE monitoring information
Undertake http://mengsir.blog.51cto.com/2992083/1254272 Nagios + Cacti module-NRPE monitoring
After the network driver receives the packet, the skb-> protocol field is initialized. The receiving function netif_receive_skb at the link layer determines based on this field and sends the message to the protocol module for further processing.
Slow SSH remote connection solution in linux
1. Applicable commands and solutions are as follows:Remote connection and Command Execution]Ssh-p22 root@10.0.0.19Ssh-p22 root@10.0.0.19/sbin/ifconfigRemote copy: Push and pull]Scp-P22-r-p/etc root@10.0.0.
Linux desktop environments such as GNOME, KDE, Xfce, and LXDE must be familiar to everyone. This article will introduce you to five Linux desktop environments that you may not know. Although they are not famous for their previous desktop
The following script backs up all source files to be edited to the/bak directory, and keeps all paths unchanged, such as vi/etc/hosts, copy/etc/hosts to/bak/etc/hosts.
# Cat/sh/vii
#! /Usr/bin/bash
# Check whether the source file exists before
JQuery editing plug-in TinyMCE is an html editing plug-in that can be easily integrated into your system. Unlike FckEditor, TinyMCE requires specialized background language integration. TinyMCE can easily integrate asp.net, php, java can easily
Since Ubuntu 10.10, the Ubuntu Software Center has taken over the installation of the deb package and removed the GDebi management tool from the default Integrated Software List. With the increasing strength of Ubuntu software Centers (beginning to
Q: How can I install Oracle Java 7 on Elemetary OS Luna?
A: The steps for installing Java 7 in Elementary OS Luna are as follows: since Elementary OS is based on Ubuntu, we allow WEPUD8 PPA with multiple Java packages.
Open the terminal.
Run the
1. Run sudo vi/etc/udev/rules. d/51-Android.rules to create the 51-android.rules configuration file.
2. Add an entry in the following data format:
SUBSYSTEM = "usb", ATTR {idVendor} = "xxxx1", ATTR {idProduct} = "xxxx2", MODE = "0600", OWNER = "
Test environment:
CentOS5.X
Centos6.X
1. CentOS5.X do not press Ctrl + Alt + Del to restart at the same time
Edit/etc/inittab
Find
CAS: 12345: ctrlaltdel:/sbin/shutdown-t1-a-r now
Change
# Ca: 12345: ctrlaltdel:/sbin/shutdown-t1-a-r now
I. Introduction to grep:
The text search tool performs a row-by-row search on the target file based on the text mode specified by the user to display the rows that can be matched by the mode. The use of regular expressions can achieve powerful text
1. Introduction to Neo4j
Neo4j is a high-performance, NoSQL graph database implemented in Java. Neo4j uses graph-related concepts to describe the data model, and uses the relationship between nodes in the graph to model. Neo4j is fully compatible
1. Why should we learn the kernel?
Some people want to learn the kernel, while others do not. If you want to engage in system development or driver development in the future, you must learn the kernel.
I just got started with the kernel and mainly
Physical Environment: Dual-host + Multi-nic + one Nic is bound with two IP addresses + switch with arp cache usage scenario: Dual-host Master/Slave switchover, using a virtual IP address to provide unified external service problems: after the master-
For Linux users, you can use the su and sudo commands. The Use Cases of these two commands are different.Su if your current identity is root, you can use the su command to switch to any other user (without a password), as shown below:
[root@lx200 ~]#
After a child process is created using the fork function, the child process usually calls one exec function to execute another program. When a process calls an exec function, the Program executed by the process is completely replaced with a new
The process has the following five normal termination methods:
(1) execute the return statement in the main function. This is equivalent to calling exit.
(2) Call the exit function. This function is defined by iso c. Its operations include calling
Abstract: although the operating system is often installed, have you ever thought about what you did during the operating system installation? What is the essence of system installation? Before operating system installation, how did the system get
The most common method for mysql database backup is to directly use the mysqldump command, but the disadvantage of this command is that it takes a long time for big data, therefore, many webmasters directly use the copy database for fast backup and
Next let's take a look at how to add and delete swap partitions in linux vps. I will use the Xen VPS to create swap partitions.
Root permission is required for all operations
1. Create a swap PartitionFirst, use fdisk-l to view hard disk partitions.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service