1. Use FIFO to copy the output stream
Pipelines can only be used for linear connections between processes, while FIFO has a name, so they can be used for non-linear connections.
Use FIFO and Unix systemsProgramTee, you can achieve the process
Due to the interconnection between China Telecom and China Netcom, many people choose dual-line data centers. The so-called dual-line data center has two outlets, one for China Telecom and one for China Netcom. Recently, I tested a server in a
1. Install the CVS server:
1. Check whether CVS is installed on your operating system:#>; Rpm-Qa | grep CVS
If you have not installed the package, you can find it on the RedHat 2nd discs and download the latest RPM package from the Internet. It is
Name: Cut
Permission: All Users
Usage: Cut-cnum1-num2 filename
Description: displays the text of each row starting from num1 to num2.
Example:
Shell> cat ExampleTest2This is test1Shell> cut-c0-6 example # the first 6 characters starting with
Correct shutdown method in Linux Table of Contents
1. Prepare for shutdown
1.1 observe the system Usage Status
1.2 notify online users of Shutdown Time
2 shutdown command
2.1 sync
2.2 Shutdown
2.3 reboot
2.4 halt
2.5
There are two common memory overflow types:
Java. Lang. outofmemoryerror: permgen Space
Java. Lang. outofmemoryerror: Java heap Space
---------------------------------------------------------
Take the Tomcat environment as an example. Other Web
Be sure to select the best release version
Installed on a DVD
Install the latest software.
Direct online update
At least 10 Gb for each update
What is kernel? Xorg? sources?
All the files that can be installed are installed on him.
Run a
2009.7.21Yaffs2 works normally on the kernel of 2.6.22, but on the kernel of 2.6.12, the problem occurs.
In desperation, I had to read the yaffs2 code.
The nandmtd2_readchunkwithtagsfromnand function in FS/yaffs2/yaffs_mtdif2.c is from the NAND
Port Environment (Bold font in redIs the modified content,Blue bold ChineseFor special attention)
1. host environment: centos 5.5 and 1 GB memory in vmare.
2. Integrated Development Environment: Elipse ide
3. compiling environment: Arm-Linux-GCC v4.4
Original works can be reprinted. During reprinting, you must mark the original source, author information, and this statement in hyperlink form. Otherwise, legal liability will be held. Http://noyear.blog.51cto.com/819034/405844
1. Description of
Explicit call of a dynamic library
Explicit calling means that the library file name appears in the code, and you need
Open and manage library files. The main points are:
(1)Dlfcn. hSystem header file included
(2) Use the dlopen function to open the
Linux send and Recv Functions1. Introduction
#include ssize_t recv(int sockfd, void *buff, size_t nbytes, int flags);ssize_t send(int sockfd, const void *buff, size_t nbytes, int flags);
The first three parameters of send and Recv are equivalent
(1) threads are also resources. Use pthread_join and pthread_detach to recycle memory.
(2) mutex will form a queue for the threads waiting for the lock, and the spinlock will constantly query the lock, similar to the processing of nonblock.
(3)
---------------------------- Network-related articles --------------------------
0001 change Apache's default character set to Chinese (bjchenxu)
VI httpd. conf, find adddefaultcharset ISO-8859-1 line
For Apache version 1. *, change to
Http://inthirties.com: 90/thread-1262-1-1.html
You can view the load average information when running top and some commands in Linux.
We know that this is information about the system load, and the smaller the better.
I found some information today.
1. Install SVN under/usr/local/bin by default
Ii. Create a repository svnadmin create/home/svnrepo
/Root/svnrepo is the path of the created warehouse. Theoretically, it can be any directory.
3. modify the configuration
Dstat & SAR
Iostat, vmstat, ifstat and much more in one.Slurm
Network Traffic graphical ToolVim &
Emacs
No one knows this ~Screen, dtach, tmux, byobu
Keep your terminal connection active.Multitail
View log files in different windows.TPP
Command line
AIXAndLinuxHow to viewCPUAnd memory information
AIXOperating System
The hardware information of Aix can be seen through the prtconf command.
1. view the number of logical CPUs
# Pmcycles-m
CPU 0 runs at 4204 MHz
CPU 1 runs at 4204 MHz
CPU 2 runs at 4
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