[Original] Introduction to the stress testing tool http_load in Linux
1. Installation Procedure:
# Tar zxvf http_load-12mar2006.tar.gz# Cd http_load-12mar2006# Make# Make install
2. Usage:
Http_load-P 3-S 10 mayingbao.txt
Http_load-P
The logic and style of the Code are not discussed here.This program is very simple, that is, printing the obtained request string, user name and password. This program is no different from a common C language program. It only adds the getenv
Environment: XP host + vmvm + fedora9
First, let's talk about some real things. To automatically mount your shared folder on XP after the VM is powered on and started, you can do this:
Vim/etc/rc. Local
Write the script you want to process or the
1. Summary of scheduled tasks;
A scheduled task is a task that executes the scheduled job at the agreed time. In Linux, we often use the crond server to do this. The cron server can perform specific tasks according to the time specified in the
1. What is a process?
A process is a program in the execution period and a general term for all its resources, including virtual processors, virtual spaces, registers, stacks, and global data segments.
In Linux, each process is assigned a data
From: http://www.linuxidc.com/Linux/2011-10/44623.htm
PrefaceI have read an article about sequence consistency and cache consistency. I would like to summarize the synchronization and barrier in the Linux kernel.
Cache consistencyI have always
First, the rhel5 system has been installed with Yum, because if you use an official website to update the yum, it will prompt registration and so on unless you have bought rhel5. So you just needChange the yum update address to an open-source one.
Understanding Shell
Alias displays all current command aliases alias LM = "ls-Al" command aliases unalias lm cancelling command aliases
Type is similar to which
Exprot to set or display environment variables
Exprot Path = "$ path":/sbin Add/sbin
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 |
record
Chapter 2 Introduction to computer
CPU typeCPU is mainly divided into two types: simplified instruction set-defined memory (PROTEUS) and Complex Instruction Set-defined memory (CISC.For simplified instruction sets, common series include the
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--># Include
# Include
# Include
# Include
# Include
Int Getline (int fd, char * line, int Len){Int cur;Char C;If (line = NULL | Len {Return-1;}
Solve spark garbled characters:In Linux, the problem of garbled Chinese characters in the Java graphic interface is often caused by the absence of appropriate fonts in the appropriate JRE/fonts.
For example, spark will ~ /. Write the last line
Linux Kernel compilation stepsFor new Linux users, it is relatively difficult to compile the kernel, and I don't even know how to start with it. By collecting this information on the Internet, I finally compiled it successfully.I have summarized
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
Add users in LinuxHttp://blog.chinaunix.net/u/12110/showart.php? Id = 60958 Add a user
To add a user to the system:
Use the useradd command to create a Locked User Account:
Useradd
Use the passwd command to assign
It is estimated that it was attacked. After a holiday, ssh could not be connected. The remote connection prompt "Network refused" is displayed. You can only go to the data center to check the details. First, you can use the following methods:
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
For Linux Command usage, there are a lot of available information on the Internet, especially here at http://linux.chinaitlab.com/special/linuxcom/. this article only lists simple commands for simple usage!
1. CD [directory path/directory name under
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 following content is reproduced from http://hi.baidu.com/herejing/blog/item/6a5376014070d4027aec2c72.html
Less will not load the entire file before viewing. Try to use less and VI to open a large file, and you will see the difference in speed
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