Statement:
1. Currently, I am not clear about the differences between the "stress test" and "Load Test" concepts, so use the "Concurrent Test" term instead.
2. the demo uses AB and webbench to test the 100 concurrency of the phpinfo () page for 5
The line breaks in Windows and Linux are different. I have encountered several problems ~ When creating users in batches, new users cannot log on because my text is generated in windows and the line feed is in Windows format. in Linux, The newusers
Compilation and connection:
Compile a single source file. -C option, such as gcc-o aa. o-c aa. CPP otherwise, the system will prompt that the main function cannot be found; because some modules only provide Unit functions; there is no main function;
1. opensuse. Among the many Linux versions, I think it is best to provide the best hardware support. The 3CD installation knows the best support for users.
Official homepage: http://www.opensuse.org/
2. KDE, a Linux desktop that I prefer, and QT-
1. In the interrupt processing function:
The NIC receives a frame ----------------------> ------------------------〉
Cause interruption -----------------> -------------------〉
The CPU calls the corresponding interrupt handler (pointing to the
Nginx is usually deployed separately from the script language parser on different servers to relieve pressure.Varnish: High-Performance HTTP accelerator memcached: distributed memory object cache system protocol is simple based on
LibeventBuilt-in
I. Currently, Linux uses the following methods for inter-process communication (IPC:
1. Pipelines (PIPE) and named pipelines (FIFO)
2. Signal)
3. Message Queue
4. Shared Memory
5. semaphores
6. Socket)
Ii. IPC details:
1. Pipeline Communication
(1)
I. Common signals:
1. sighup: end signal sent from the terminal
2. SIGINT: the interrupt signal from the keyboard, CTRL + c
3. sigkill: the signal will end the process of receiving the signal.
4. sigterm: signal sent by the kill command
5. sigchld:
I. module functions
1. Differences between kernel module programming and Linux application development:
(1) In kernel module programming, there is no main function (2) in kernel module programming, we use printk to print, without printf
2. program
Some string conversion functions provided in the Linux kernel:
LIB/vsprintf. c
1. unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) 2. unsigned long simple_strtoul(const char *cp, char **endp, unsigned int
1. For SSH and FTP, first install the server and then the client2. Example: Install the vsftpd serviceStep 1: first check whether vsftpd RPM packages have been installedRpm-Qa | grep vsftpdStep 2: mount the ISO image to the hard disk1. First, create
Let's talk about how library files come from.
Take C as an example. If we write a program, we generally do not write all the functions in one file. Generally, we divide modules and then several files in one module, call these modules in the main
Run the RPM installation package
Binary and source packages. The binary package can be directly installed in the computer, and the source code package will
Rpm is automatically compiled and installed. Source code packages often use SRC. RPM as the
# Include # Include # Include # Include # Include # Include # Include Using namespace STD; Union semun {Int val;/* value for setval */Struct semid_ds * Buf;/* buffer for ipc_stat, ipc_set */Unsigned short * array;/* array for getall, setall */Struct
/**************************** Client. c ***********************************/
# Include # Include # Include # Include # Include # Include # Include
# Define Port 1234/* Listen port */# Define maxdatasalize 100
Int main (INT argc, char * argv []
The first statement and initialization are not described in detail here. Please refer to my previous blog post the corresponding code here:
# Ifndef _ linux_list_h # DEFINE _ linux_list_h # define offsetof1 (type, member) (size_t) & (type *) 0)->
No, completely incorrect ======================================================== ========== rpm and Deb have nothing to do with KDE and gnome, KDE and gnome are desktop systems. Rpm and Deb are software package management systems. Any Linux release
Document directory
BiOS completes the following functions:
Work of bootloader
Setup ()
Start_kernel ()
Original article address:
Http://www.manio.org/cn/startup-of-linux-view-of-society.html
In fact, this should be the first part of this
For a long time, I have been studying and working hard on the C language layer. Over time, many questions about C are hard to find answers in books and materials. A programmer is a perfect group, and even a little bit of thinking black hole in his
How to Create a floppy Linux
Copyright: The copyright of this article is owned by Yue Guang. It can be freely transmitted and reproduced without commercial purposes. Any action in this article shall be approved by the author for commercial purposes.
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