Description: ethtool is a command used to query and set Nic parameters.
Summary:Ethtool ethx // query basic ethx network port settingsEthtool-H // display the ethtool Command help (HELP)Ethtool-I ethx // query ethx network port
You may not be familiar with this topic any more. There are a lot of online materials, because this is an important aspect of programming in Linux, and there are many people who understand this aspect; here I just want to give a brief introduction
For some OS versions, edit grub and add "single" to the end to enter the single-user mode.
For Debian, this method is invalid. If you forget the root password, you can reset the root password using the following method. This method works on grub in
D: Enable forwarding on the server
Make a NAT, but note that eth0 must be an interface that can be used to access the Internet. Otherwise, data cannot be sent out. If the bot is a single interface, you don't have to worry about it.
[Root @ rh9
Two Linux memory problems have occurred recently. One is that Oom-killer is triggered to cause system crashes.
1. First confirm that the system version is 32-bit
# Uname-alinux alarm 2.6.9-67. elsmp #1 SMP wed Nov 7 13:58:04 est 2007 i686 i686 i3
Nginx is installed today. refer to the following two articles.Article. This is the first article, but note that-Prefix =/usr/webserver/nginx/is followed by "/" to indicate a directory. Otherwise, you will be prompted that the parameter is invalid.
What is Linux? What is the difference between it and UNIX? Most of the reasons for this question are that you went to the lab when you were a freshman and saw a senior student answer questions on a machine with a large screen. You looked at him with
The following functions are I/O (unbuffered I/O) functions without Caching:
For the kernel, all opened files are described by a non-negative integer (called a file descriptor ).
The following describes the file I/O functions:
(1) Open
This
Original address: http://www.yuwenlan.com/blog? P = 9
1. Checkout the file to the local directory.SVN checkout path (path is the directory on the server)Example: SVN checkout SVN: // 192.168.1.1/Pro/DomainAbbreviation: SVN Co
2. Add new files to
Fork () function
Create a new process in LinuxUniqueYou can use the fork () function. The fork () function is a very important function in Linux. It is different from the functions we have encountered before, because it looks like two values are
Have you ever encountered a mahjong character when using Linux? For example, when we install the system, only English is installed. When we browse the Chinese web page, is there a mahjong character? In this case, you need to install another language.
Let's take the multicast data sent to UDP as an example. In fact, the difference between sending a UDP multicast datagram and sending a unicast UDP datagram is not big.
First, in the myudp_sendmsg function, if the source address of the sending
1. Introduction
Epoll is an asynchronous I/O notification method provided by Linux. Compared with the select mechanism, select is round-robin, while epoll is triggered, and the maximum number of select connections is only 1024, after this limit is
This topic is circulated on the Internet in the same version, that is, the first item is the difference between header files, but the header files listed later are only # include (it is estimated that some people accidentally forgot to escape the
(It is refered from: http://www.cnblogs.com/wwang/archive/2011/01/27/1944406.html)
He has been engaged in Linux kernel driver development for several years. I have read many books on Linux since I started to use Linux. Now I want to list some of
This article makes a record, from installing mono, running the. NET program, installing jexus, configuring and running the mvc2.0 program developed based on. net3.5 in windows. However, different Linux systems may have different methods for
One of the most troublesome problems in C/C ++ development is memory management. Sometimes it takes several days to find a memory leak or a memory access out of bounds, if there is a tool that can help us do this, valgrind is such a tool.
Valgrind
The whereis command can only be used for searching program names, and only binary files (parameter-B), man description files (parameter-m), and source code files (parameter-S) can be searched ). If the parameter is omitted, all information is
1. root file system
A file system is a directory structure that includes a disk (including a CD, floppy disk, flash disk, and other storage devices) or a partition. An applicable disk device can contain one or more file systems; to access a file
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