In Linux, there are usually two methods to speed up the network: iptables and TC, or combine them.1. The simplest way
From: http://bbs.chinaunix.net/thread-833575-1-1.html
The maximum upload speed of 192.168.0.2 is 30kb/s:Iptables-a forward-s 1
Original post address: http://sopace.blog.51cto.com/1227753/370370
Today, we found that Tomcat port 8080 is unavailable on the server and the port is occupied.Run the following command:PS-Aux | grep TomcatTomcat process with no port 8080 is found.
If you use the task manager in Windows to view the status of each process, you can see that the total CPU usage of the system is the sum of processes.
However, this is not the case when top or other tools are used in Linux. There are often
Summary of common Linux commands:I. Common commands:1. Date: print or set the system date and time2. stty-A: You can view or print control characters (CTRL-C, Ctrl-D, Ctrl-Z, etc)3. passwd: change the password4. logout and login: Shell logon and
This article is the third article in the series. It is mainly intended to be used by the user and help others.
3.1 Super UsersIt is actually a root user. We are familiar with it in Linux. Here we just summarize that this account has the attributes
Add new Hard Disk
After Linux kernel 2.6, the system will identify the newly added hardware devices and create corresponding device files under/dev. For example:
SDA represents 1st SCSI hard disks.
Hda indicates 1st IDE Hard Disks (connected to
Reprinted: http://www.517sou.net/Article/104.aspx
I. Factors affecting Linux server performance
1. Operating System Level
CPU
Ø memory
Ø disk I/O bandwidth
Ø network I/O bandwidth
2. Application-level
Ii. System Performance Evaluation Criteria
The other day, I saw a blogger write a blog using a Q & A method: concatenate a lot of knowledge points in the form of a Q & A. I think this form is good, so it is easy to highlight the key points. I will try again later, write a blog, and review my
The original post of a series of articles about Linux IPC published on the IBM developerworks website is a series of articles by Zheng yanxing, I have demonstrated the use of several IPC methods in Linux Through Explanations and examples. I think it
This problem often occurs at work. When you log on to a Linux server using FTP commands on Windows, the following message is displayed: 530 must perform authentication before identifying user. After searching online, I finally found a solution.
Convert formats in Linux
// Create a CD handle firstIconv_t CD;// Then initializeCd = iconv_open ("UTF-8", "Unicode"); // The first parameter is the converted encoding, and the second parameter is the encoding to be converted, which here is
Linux Kernel is a single kernel, but it is flexible and convenient to develop by dynamically loading modules. So how does it compile the kernel? We can start by analyzing its makefile. The following is a simple makefile for the hello kernel module.
Three-Step bus registration:
Register Bus
Bus_register (& my_bus_type );
Create an attribute File
Bus_create_file (& my_bus_type, & bus_attr_version );
Register a bus device
Device_register (& my_bus); the bus is represented by the struct
For more installation configuration details, see: http://blog.csdn.net/five3/article/details/7732832
WindowsDirectly download all the packages for Environment setup and install them directly:
You can download a Windows package from python2.7.
Webpy
@page { size: 21cm 29.7cm; margin: 2cm }P { margin-bottom: 0.21cm }-->
Install the latest gcc4.2.2 in Linux
Very simple. First of all, the latest package GCC 4.2.bz2 is usually available everywhere. The download speed in Linux is very full, more
Create an FTP server in Linux/KDE
(If it is slackware, change/var/FTP to/home/FTP, but nothing else will happen)
: Ftp://vsftpd.beasts.org/users/cevans/
Tar jxvf vsftpd.2.0.3.tar.gz
CD vsftp.2.0.3
A. Add the "nobody" user. Add this user
In the past few days, a network traffic collector program has been basically changed. In the main function, several subthreads are started and then sleep for 10 minutes. Then, the sub-threads are cleared and exited. Now I want to change it to the
Linux vmware-tool installation:1) Select install VMware tool from the VM entry on the VMware Workstation menu bar...2) Run Mount-T iso9660/dev/CDROM/MNT in Linux, then the installation package is displayed under/mnt /.3) copy the installation
Generally, the operating system can use three methods to represent the current time and date of the system: ① the simplest method is to directly use a 64-bit counter to count the tick of the clock. ② The second method is to use a 32-bit counter to
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