[root@hadoop058 ~]# Mii-tooleth0:negotiated 100basetx-fd, link OK 100M
Linux to see the network card operating rate
Ethtool is the command used to query and set the network card parameters.
Profile:Ethtool ethx//Query Ethx the basic settings of the
When you write a socket program in a Linux kernel module, when you bind a port with bind, sending the data can be successful.
However, the port can not be released in time, the next time the module is loaded, the address will appear to occupy the
We all know that ifconfig-a can list all the network cards, but how to interpret the gigabit NIC or the hundred gigabit NIC.
1. The judge is the gigabit Nic or the hundred gigabit NIC
Ethtool ETHX View the rate of support
The actual network card
This file is a configuration file for DNS domain name resolution, which is simple in format, preceded by a keyword, followed by configuration parameters. The key words of resolv.conf are mainly four, respectively:
NameServer #定义DNS服务器的IP地址
Domain #
/etc/resolv.conf was emptied because there was no DNS server information in the/etc/sysconfig/network-scripts/ifcfg-eth0, so the system automatically uses/etc/sysconfig/after reboot Network-scripts/ifcfg-eth0 the settings in
Cache segment--neilwong (neilwong@hotmail.com) in the Linux kernel
Original address: http://blogold.chinaunix.net/u2/85263/showart_1743693.html
When I recently transplanted the LEON3 kernel, I learned some simple knowledge, especially for everyone
We all know that there are three kinds of Linux system, bridging, nat,hostonly three modes, today we will introduce the Hostonly connection mode:
Step one: Start Linux, enter Ifconfig, and view the IP address at this time:
Of course you do nothing,
Device-driven interrupt event processing as shown in the following figure, he differs from the common driver in that there is a data buffer, the Read/write method provided by the driver does not directly complete the hardware data operation, the
1. See if you are connected to the storage
View the/proc/scsi/scsi file, which lists the devices that are connected to through SCSI or FC.
Fdisk-l can view the list of hard disk devices
In the/dev directory, you can see a lot of device files,
In the Linux distribution, different versions of the encryption algorithm used are different, the algorithm generated different passwords are different, we can autoconfig--test This command to view the default type of password.
[Root@server25 vhost]#
Accidentally put Linux permissions after 777 of the remediation scheme
Hand cheap put/var 777, really careless, restore a day, estimated or have a pit, so use it first. Restore Permissions Script
#!/bin/sh
Foreachd () {for
file in $1/*
does # If it
Maybe everyone, like me, have encountered problems like me, we added a new user under Linux, and when we switched to this user, we found that we did not display the new user and hostname we created (not the "user @ Host name"), but just a $ symbol.
-----------------------------------------------------------#!/bin/bash
Set-e
Command 1Command 2...
Exit 0----------------------------------------------------------
Every script you write should include SET-E in the top. This tells Bash is it should
have been playing Linux kernel and file system porting for nearly a week, using the following version:
Bootloader:u-boot-2010.06.tgz
Kernel:linux-3.0.y.tgz
Busybox:busybox-1.16.1.tgz
After the collection of the corresponding introduction documents
In a Linux system, a network adapter can set multiple IP.
Cd/etc/sysconfig/network-scripts
CP Ifcfg-ens33 ifcfg-ens33\:1
The backslash (\) is added because you want to escape it, otherwise it is not recognized on the Linux command line, and then
The usage of the Linux nohup command.
When applying unix/linux, we generally want a program to run in the background, so we will often use & at the end of the program to run the program automatically. For example we want to run MySQL in the
1, to the http://www.kernel.org/download source package
2, decompression compression package#tar-ZXVF linux-xx.xx.xx.tar.gz (Note: xx.xx.xx. Represents the kernel version number)
3, 3, delete the previously possible failure of the compilation
[Content Summary]
This paper introduces the three components of Input-subsystem, analyzes the main structures and functions, and how they relate to each other.
[Overview]
The kernel's input subsystem is a driver that unifies disparate input devices
Reference documentation 1:http://jingyan.baidu.com/article/7908e85c725159af481ad2f7.html
Reference documentation 2:http://blog.csdn.net/wang1144/article/details/7801149
Reference in document 1 provides a way to view system information in 4, but
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