Overview printk klogd syslog dmesg syslog-ng Convert Timestamp
1. Overview
Linux adopts a ring buffer kernel with a size of __log_buf_len bytes to store system logs, where __log_buf_len equals ( 1
The kernel log buffer is accessible to reading
1. Download Beijing-Racing platform Source Building2. Upload files to the Linux server via XFTP3. Unzip the zookeeper using the command tar--zxvf zookeeper-3.4.124. Configure the system environment variable Vim/etc/profileExecute source/etc/profile
CD command
The CD (option) (parameter) syntax is used as follows:
CD into the user's home directory;CD ~ Enter the user's home directory;CD- Returns the directory where the directory was before it entered;CD.. Return to the parent
1 The philosophy of Linux all documents, file types are also divided into a variety of, please see the following detailed instructions.-: Normal fileD: Directory files, commonly used #cd commands to enter.B: A block device, an interface device that
Lab Environment: Two Linux virtual machinesExperimental requirements: Connect with Xshell. Do not use also line, open in terminal. and linux1 as the service sideBasic configuration: linux1 ip:192.168.109.120 linux2 ip:192.168.109.130One, the root
#total number of cores = number of physical CPUs X number of cores per physical CPU#Total Logical CPUs = number of physical CPUs x number of cores per physical CPU X number of hyper-threads#To view the number of physical CPUscat/proc/cpuinfo|
Common types of Linux files: normal files, directory files, character device files and block device files, Symbolic link files1.1.Normal file(-)
LS-LH to see the properties of a file, you can see a similar-rwxrwxrwx, it is worth noting
Four advantages:1. Use the UP and DOWN ARROW keys to adjust the previous executed Linux commands;2. Commands or parameters only need to input the first few can be used to complete the TAB key;3 A powerful batch-processing script4. With practical
I. Input/output redirectionConcept: input redirection refers to importing a file into a command, and output redirection refers to writing the information originally printed to the screen into the specified file.Kinds:1. Standard input redirection
System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system components –
user account: user account description Super User root user, For system administration use. Normal user created by administrator or root user, only has full permissions in the user's own host
Linux man manual showing Chinese
Get Source Chinese Package
wget https://src.fedoraproject.org/repo/pkgs/man-pages-zh-CN/manpages-zh-1.5.1.tar.gz/ 13275fd039de8788b15151c896150bc4/manpages-zh-1.5.1.tar.gz
Extract
Tar
Linux environment, how to determine the Nginx is started with that config file?Input command line: PS-EF | grep nginxPress ENTER to appear as a slice:After the master process is the Nginx directory.How to view the Nginx version number installed on
This blog installed Elk version of the current version of the latest 6.3.0, because Elasticsearch is based on Java development, so the JDK version is required, in the 5.0 version, requires JDK version of not less than 1.8 can be normal and practical.
Diff is the command used in Linux to compare folders and file contents in a simple and understandable language description:Based on the file (or folder) to which the first parameter of diff points, compares the file (or folder) to which the second
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