14th. Log Management14.1Log Management-Introduction1, log service? in CentOS6The Log service in x has been replaced by RSYSLOGD with the original SYSLOGD service. RSYSLOGD Log service More advanced, more features. However, regardless of the use of
Several CPUsMore/proc/cpuinfo |grep "Physical ID" |uniq|wc-lEach CPU is a few cores (assuming the same CPU configuration)More/proc/cpuinfo |grep "Physical id" |grep "0" |wc-lCat/proc/cpuinfo | grep processor1. View the number of physical
The KILL command in Linux is used to terminate the operation of the specified process (terminate a process). Kill to send the specified information to the program. The preset information is sigterm (15), which terminates the specified program.(1)
Quick actiontab (Auto-padded, press two tab when multiple selections appear list) Ctrl+d (exit current operation) CTRL + C (Stop the currently executing command)System commandsShutdown–h now (shut down immediately) Shutdown–h 15:30 (15:30 minutes
Environment Status:System: Ubuntu 14.04GUI Desktop: UnitySteps:I: Create your own shortcut file under the/usr/share/applications/folder:sudo gedit/usr/share/applications/putty.desktopII: The contents of the file are as follows: (cannot have extra
How to bulk delete empty files (Files of size equal to 0) under Linux
The code is as follows
Copy Code
Find. -name "*"-type f-size 0c | Xargs-n 1 rm-f
You can also delete a file of the specified size,
Detailed conceptual interpretation will not say, if there is no concept of vmalloc, you can find some information to understand, here is mainly the analysis of the kernel in the implementation of Vmalloc;Direct physical memory mapping (kernel
Allocating memoryDescribes how memory is used in device drivers;How best to utilize system memory resources.Kmalloc functionThe Kmalloc memory allocation engine is a powerful tool.#include void *kmalloc (size_t size, int flags);Parameter assignment
The scheduler is responsible for deciding which process to run, when to run, and how long it will run. Only through the dispatch program reasonable scheduling, system resources to maximize the role, multi-process will have the effect of concurrent
Cross-compilation environment construction1. Prepare the cross-compiler toolchain arm-linux-gcc-4.3.2.tgz and put it on Ubuntu Linux system I shared it with a linux system in a virtual machine by creating a shared file on WindowsFirst create a
One1. View the userThe command is as follows: WhoAmI2. Create a userCreate user command: sudo adduser helloSuper User is RootDelete user name command: sudo deluser hello--remove-homeSwitch User login command: su-l Hello3. User groupsGroupsView user
Jiangid:fuchen1994Experimental topic: Analyzing the process of creating a new process for the Linux kernel
Reading comprehension task_struct data structure http://codelab.shiyanlou.com/xref/linux-3.18.6/include/linux/sched.h#1235;
Core tips:system services in the boot generally can automatically start, that under the Linux system if you want the program to start automatically when the boot? We know that in the Windows system "start" and "All Programs" and "Start" put a
Chown command, chown
Chown -- change the owner of a file or directory
ChAnge fileOwnErship
Command path:/bin/chown
Execution permission: the root user, that is, only the root user can perform this operation.
Example 1: Modify the directory
Process Scheduling Algorithm Linux Process Scheduling Algorithm and scheduling algorithm linux Process
This section describes the process scheduling algorithm of the operating system.
There are three types of Operating System Scheduling: 1. Remote
2. Common Linux operation commands (1) and linux operation commands
BASH: It is the GNU Bourne Again Shell, which is the default Shell on the GNU operating system.
Bourne Shell: Shell developed by Bell lab.
Korn Shell: It is the development of the
Eight things to do after openSUSE Leap 42.1 is installed
If you have installed openSUSE on your computer, this is what you will do next.
OpenSUSE Leap is indeed a huge Leap that allows users to run a release with the same genes as SUSE Linux
Adjust the disk size of a KVM Virtual Machine
By default, the hard disk images of KVM virtual machines are stored in "/var/lib/libvirt/images/". First, check whether your hard disk image format is in RAW format:
Qemu-img
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