Article:
Http://blogs.sun.com/alanb/entry/epoll
JDK 6.0 NiO supports epoll, which greatly improves the performance of concurrent idle connections. This is a lot of network server applications.ProgramYes.
One of the updates in build
Address: http://hi.baidu.com/xolee/blog/item/2bedc8b7ef2743e730add16c.html
1. view the number of physical CPUs# Cat/proc/cpuinfo | grep "physical ID" | sort | uniq | WC-l 2. view the number of logical CPUs# Cat/proc/cpuinfo | grep
First, describe the overall process and ideas:
The client reads a line of text from the standard input and sends it to the server. After receiving the text, the server returns the text directly to the client, that is, Echo. TCP protocol is used as
Original article link
1. What is a partition?Partitioning refers to dividing a hard drive into several logical drives, and partitioning refers to using the continuous blocks of the hard disk as an independent hard disk. A partition table is an
This article takes redhat AS 4.0 AS an example:
First, install the vsftp package in linux.
Rpm-qa | gerp vsftpd // find whether vsftpd is installed
Vsftpd-2.0.1-5.i386.rpm if not installed (on the first disc)
In linux, an important point is to mount
First, you need to modify the udev file after this method is completed.
My mobile phone is Huawei C8812 and adb cannot be connected in any way. It always displays:
List of devices attached????????????Device
Although adb shell can be used,
I bought a new hard disk to install ubuntu and migrated all the work to linux.
No inconvenience. After all, the most common tools are Eclipse, Firefox, and UltraEdit. The replacement of UltraEdit in linux is vi and gedit. Everything is fine.
The
Recommended for dev: http://www.sublimetext.com/dev
Let's talk about it first.Chinese displayProblems:
Find a font that supports Chinese display, and modify the Preference-File Settings-user:
{"Font_face": "DejaVu Sans YuanTi Mono "}
Note: Only
MemcacheQ is a pure distributed Message Queue Service.I. application background of MEMCACHEQWhat is Web ApplicationWill a Message Queue be required? The main reason is that in highly concurrent environments, requests are often blocked due to the
This article describes how to view hardware information in linux, including the motherboard serial number, cpu information, memory information, hard disk information, and nic information.
1. motherboard information. view the serial number of the
VI is a character-only text editor standard in Linux/Unix. Because the mouse function is not supported, and there is no graphical interface, the operations must be completed through keyboard commands, and a large number of commands need to be
Debugging is an indispensable task in the development process. In Linux programming, gdb is usually used to debug our c/c ++ program. Because gdb can introduce many things, I will introduce several articles in detail here. I will introduce some
Function Description:Obtain or set resource usage restrictions. Each type of resource has related hardware and software restrictions. Soft restrictions are the limits imposed on the corresponding resources by the kernel, and hard restrictions are
Document directory
1.1.1. Create the source code files
1.1.2. Compiling a Single Source File
1.1.3. Linking Object Files
1.3.1. Compiling with Debugging Information
1.3.2. Running GDB
1. Getting Started1.1. Compiling with GCC1.1.1. Create the
1. Download The hadoop packageWget http://apache.freelamp.com/hadoop/core/stable/hadoop-0.20.2.tar.gz2, tar xvzf hadoop-0.20.2.tar.gz3, install JDK, download JDK directly from the oracle website, address:
1. If squid is not installed in the system, enter the command in the following order to complete the installation.
# Wget http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE18.tar.gz // download the Squid Agent installation package
#
When fopen or socket is used in php, an error is reported:
Php_network_getaddresses: getaddrinfo failed: Temporary failure in name.
My code is as follows:
$ Handle = fopen ("http://www.baidu.com/"," r ");Echo "handle:". $ handle;
This means
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