You can view the following commands:
# Lsb_release-LSB version: core-3.1-ia32: core-3.1-noarch: graphics-3.1-ia32: graphics-3.1-noarchDistributor ID: centosDescription: centos release 5.4 (final)Release: 5.4Codename: Final
This command applies
Today, I have finally figured out the origins and differences between carriage return and line feed.Before the computer appeared, there was a kind of device called teletype model 33, which can contain 10 characters per second. But there is a problem,
1. decompress the file: # tar xvf dnw_for_linux.tar.gz
2. Switch to the following directory and compile the USB driver module: # cd dnw_for_linux/secbulk
# Make-C/lib/modules/2.6.33.6-147. fc13.i686/build/M =/home/LHC/desktop/dnw_for_linux/secbulk/
How to locate an endless loop or high CPU usage (Linux)
The CPU usage is too high.
Use top to check whether the CPU usage is too highFind the thread
Sort all threads of processes with high CPU usage
ps H -e -o pid,tid,pcpu,cmd --sort=pcpu |grep
I. View CPU
More/proc/cpuinfo | grep "model name"
Grep "model name"/proc/cpuinfo
If you feel more comfortable to watch
Grep "model name"/proc/cpuinfo | cut-F2-D:
Ii. view memory
Grep memtotal/proc/meminfo
Grep memtotal/proc/meminfo |
Http://oss.org.cn/kernel-book/ldd3/index.html
Simplified Chinese version v0.1.0 2006-6-2 translated by quickwhale
Follow the original copyright statement. It is still in progress. Any comments are welcome. please email me. Please mail to
Chapter 2 bash shell Learning
Chapter 2 Linux Account Management and ACL permission settings
/Etc/shadow file
Su usage
Su summarized the usage as follows:
To completely switch to the new user environment, you must use "Su-username" or
Linux programming (version 2nd)
Chapter 2 shell program design
1. Execution of another script in a script program is much slower than execution of a function; execution result return is also more difficult; and may cause too many small scripts.
In
Linux has 7 runlevels)Running level 0: The system is down. The default running level cannot be set to 0. Otherwise, the system cannot start normally.Running Level 1: single-user working status, root permission, used for system maintenance, remote
SUID meaning: this bit of the file is set to 1. When the file is executed, the file will run as the owner, that is, no matter who executes the file, he has the privileges of the file owner. If the owner is root, the executor has the privileges of
Linux-dd command details
Dd is a very useful command in Linux/Unix. It is used to copy an object with a specified size block and perform the specified conversion at the same time.
Name: ddPermission: all user dd commands in manual are defined as
Document Name:Linux service configuration document-NFS
Server Configuration:192.168.0.8-redhat-2.6.9-5.el 192.168.0.6 redhat-2.6.18-8.el5
Document address:Http://blog.chinaunix.net/u1/40306/
NFS is short for Network File System, which was
1 configure Option 43Solution Description: configure the DHCP server on Linux to provide IP addresses and Option 43 for the AP.1.2 configuration ideas1)Download and install DHCP server programs.2)Debug the basic DHCP service and verify
For high-concurrency squid servers in Linux, the number of TCP time_wait sockets often reaches two or 30 thousand, and the server is easily dragged to death. By modifying Linux kernel parameters, you can reduce the number of time_wait sockets on the
When adding a route, if you want it to be valid when the server is restarted, write the command to/etc/rc. Local. However, the routing operations are different in Linux and FreeBSD, with the following differences:
Linux:
The following is
Basic knowledge about Linux dynamic link library. the main point is: You can use dlopen, dlsym, dlclose, and other dynamic link library operation functions to load the specified function in the specified dynamic link library and then execute it.
On the 56th page of "UNIX \ Linux Programming Practice tutorial:
Every time UNIX opens a file, it will save a pointer to record the current position of the file, showing
Read reads data of the specified length from the current position,
Move the
Before explaining the technical details of Chinese Character Display Based on Linux core, it is necessary to introduce the operating mechanism of the original Linux. This article mainly involves the implementation of terminals and frame buffering in
Under GRUB boot, after the system is started, the grub boot menu appears. Select the Linux system to be started with the upper and lower keys, and press the letter "E" to enter the editing mode. Then, select the system startup kernel item (for
The following content is reproduced from http://hi.baidu.com/jackywdx/blog/item/d831471fedd6d1cda78669c5.html
Grep: G (globally) Search for a RE (regular e-xpression) and P (print) the results.
1. parameters:-I: case insensitive-C: print the number
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