It is often necessary to kill multiple processes. These processes contain common keywords. You can kill them with a command.
PS aux | grep "common" | cut-C 9-15 | xargs kill-9
The pipe operator "|" is used to separate two commands. The output
The second battlefield of Linux Transfer
On August 1, February 21 (Beijing Time on August 1, February 21), the second battlefield of Linux transfer began to emerge in the Enterprise Desktop market when people focused on the shift from UNIX data
There are five I/O models in Unix/Linux:
1) blocking I/O
2) non-blocking I/O
3) I/O multiplexing (select and poll)
4) signal-driven I/O (sigio)
5) asynchronous I/O (posix.1 AIO _ series functions)
These models sometimes make me confused.
Original article link
When we view process information in top, there will be two projects: RSS and vsz, the former is the memory usage of the process itself, and the latter is the total usage of the shared library. Memstat smallProgramYou can view
Posted on [post from the Cu Forum]Linux memory management
Careful friends will notice that when you frequently access files in Linux, the physical memory will soon be used up. Program The memory will not be released normally, but will
As we all know, the X Window System under Unix has two most popular desktops, each of which has its own merits. Supporters and developers on both sides are also divided into two different worlds (although their applications
Program). We usually see
Link: http://myid520.blog.163.com/blog/static/154418420077259428204/
In Windows, you can search for files in some paths or not in some paths, the following uses the find command in Linux and Its-path-prune parameter to check how this function is
First, let's briefly understand the differences between a hard link and a symbolic (soft) Link (In this article, symbolic links and soft links refer to the same concept.):
Hard connection points to inode, while soft connection points to path ).
The mysql official website began releasing various versions of the 5.6 series starting in May,. the mysql series versions have been comprehensively refined, the following is a sharing record of the mysql5.6.10 source code installation process
After GDB is started, you must set a breakpoint before debugging. In gdb, there are usually three types of breakpoints:
BreakPoint (BreakPoint ):
Interrupt at the specified position of the Code. This is the most commonly used one. The command used
# Check whether the specified directory exists in the current directory. If not, create it
Copy codeThe Code is as follows: function mkdir_1
{
If test! -D $1
Then
Mkdir $1
Fi
}
# Replace the "prefix =. *" string in the specified file with "prefix
If you want to use the easy_install tool, you may need to install setuptools first, but the cool way is to use the ez_setup.py script:
Copy codeThe Code is as follows: wget-q http://peak.telecommunity.com/dist/ez_setup.py
Python ez_setup.py
After
1. Install BIND1. Download BIND http://www.isc.org can also go to this site to download bind9 dns software.2. Compile and install
Copy codeCode: # tar zxvf bind-9.4.0.tar.gz
# Cd bind-9.4.0
#./Configure sysconfdir =/etc // more installation options.
1. Use the software package that comes with the CD to install the following package:
Bind
Bind-utils
Bind-libs
(Rpm-I xxx. rpm)
2.Set the named service to self-start(Using tools such as ntsysv and chkconfig)
3.Assume that you need to parse
To create a Secure Linux server, you must first understand the meaning of the configuration files related to network services in the Linux environment and how to configure security. In Linux, the TCP/IP network is configured through several text
Now, because the Internet connection speed between cables and DSL has exceeded T1 (communication lines with a transmission rate of up to 1.544 Mb/s ), therefore, these two connection methods have been widely used in the commercial field. For DSL and
The Internet is made up of network interconnection, and the device implementing Internet interconnection is the gateway. Any user connects to the Internet through a gateway. Most gateways on the Internet are dedicated routers and switches. At
When talking about the website architecture, we often see the saying "LAMP", which is "Linux + Apache + MySQL + PHP ". There have been many successful cases of MySQL + PHP collaboration. For example, PHPBB, VBB, domestic Discuz! Forums and other
In order to facilitate the replication of virtual machines, we still have to use VirtualBox, Old Problems, seamless mouse removal and other enhancements, just like Vmware-tools.
There is a defect. in pure terminal mode, it seems that the mouse
Ubuntu + Windows multi-system boot is completed by grub of ubuntu by default. If we reinstall Windows, Windows will change the Master Boot Record to its own, at this time, the startup Item of Ubuntu cannot be found, and we need to manually restore
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