Processes and ThreadsConcept: In Linux, threads are generally considered "lightweight processes", processes are stand-alone units of an application, and threads cannot exist independently, and must be created by a process. The advantages of line
When managing Linux systems, we often need to enter a variety of operation commands through a terminal window. In the GNOME Integrated desktop environment, the GNOME Terminal (gnome-terminal) is a terminal program that we often use, and each time
A. Linux memory allocation
Linux memory allocation simple meaning is divided into four paragraphs
1. Code Area
2. Global variable Area
3. Stack
4. Heap
Verify by using the following program
#include
#include
#include
int add (int a,int b)
{
Allocation space, I think the first thing to know what to install under the directory, so it is good to decide how much should be allocated.
/root directory/bin to store the necessary orders/boot Store the kernel and start the required files,
Bad mood, less talk, first of all, the test environment of Windows here:
Windows XP SP3 + SFU3.5 (Windows service for UNIX)
The Linux side uses NFS to share/home/syniapp This directory, my exports file content is:
/home/syniapp 168.168.2.155
Several common environment variable/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
Export edit this entry is missing
Information Bar、
Business Card Map, add the relevant content to make the entry more complete, but
Hard link is in the original inode reference plus one, with Ls-li can be seen, hard connected file and source file Inode value is the same, and soft connection is to create an inode, specifically to point to the actual file inode, such as shortcuts.
This blog is written because it needs to be used later when using keepalived to implement Nginx high availability. The role of virtual IP in high availability is followed. Today to see how to configure the server virtual IP, in fact, is to allocate
This article describes two ways to perform tasks on a regular basis under Linux: at command, and Crontab service.
(1) at command
If we just want to make a particular task run once, then we need to use the at monitor.
Setting the AT command is simple,
For example, the environment variable path in Linux is:
/opt/ros/indigo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
If you want to get each of these directories, you can do this in two ways:1 First
Original blog, reprint please indicate the source
Attach a few Linux blogs with a higher number of previous visits
My 8 tips for using the shell
Nine classic usage scenarios for grep
SED command detailed
awk Command Detailed
Everything in Linux is a
Order
The process communication method under Linux is basically inherited from the process communication means on UNIX platform. The two main forces that make a significant contribution to the development of Unix are the at&t of Bell Labs and the
Basic idea: 1: Virtual machine increases disk capacity
2: Add additional disk capacity to the VMware partition
1. Use the df-h command to view the VMware disk information, as shown in the figure (when the capacity of the virtual machine is 20G)
2.
How to use the date command under Linux
in Linux, the date command is a very common command that we often need to use to view system time, set system time, and so on.
1. Set the system time directly using the date command
such as: Set the
1. Set the environment variable directive:
Export
For example: Export m2_home= "/opt/maven" This instruction set the M2_home point to a path
Echo View
echo $M 2_home If m2_home is defined, its value is displayed
Modify
Modify the environment
1.1 memadmin Introduction
Memadmin is a visual memcached management and Monitoring tool, using PHP development, small size, easy to operate.
main functions: Server parameter monitoring: STATS, SETTINGS, ITEMS, slabs, sizes real-time refresh server
Original address
To add the/etc/apache/bin directory to path, there are three methods:
1. #PATH = $PATH:/etc/apache/binUsing this method, only valid for the current session, which means that the PATH setting is invalidated whenever the system is
Note: Much of the following is excerpted from the Linux kernel programming primer and the Linux kernel full annotation
In the work of this time, I found my Visio drawing familiar with the point, always like to what source ah, structure, and so on
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