Dell LATITUDE E5410 laptop Ubuntu wireless network card BCM43224 Driver InstallationAuthor Yu Chao email: yuchao86@gmail.com
When using Ubuntu, you may encounter a Ubuntu wireless NIC driver problem. Here we will introduce the solution to the Ubuntu wireless Nic problem, I finally configured the Ubuntu wireless Nic on my Dell LATITUDE E5410.In linux, we have to do everything on our own, which greatly improv
the dependency relation derivation and compilation links.2. Initial Scons experienceFirst, install the scons software and run the command: sudo apt-get install scons.Create the/home/yuchao/dev/scons directory and write the helloscons. c file and SConstruct file respectively. The content of the two files is:(1) Compile the executable file and use the Program function directly.[Yuchao @ yuchao-Latitude-E5410 scons] $ pwd/Home/yuchao/dev/scons[Yuchao @
Use Mochiweb to build a Facebook-like Web Chat System Based On Comet (original)Author: Yu Chao EMAIL: yuchao86@gmail.com
Facebook's web chat system is implemented using Mochiweb Based On Comet technology. Currently, HTTP is required by clients to send information to servers, and the server cannot push information to clients. For example:1. When the email server receives a new email, it reports it to the user in time. If the email server is online2. When the Web chat server receives new informati
Installation and Use of PHP performance monitoring software xhprof (original)Author: Yu Chao Email: yuchao86@gmail.com
Xhprof is a lightweight PHP performance analysis tool open-source by Facebook, similar to xdebug. Compared with xdebug, the configuration is simpler, lighter, and more controllable.Environment: Linux + PHP + Apache1. Install xhprof// Download to any directory[Yuchao @ yuchao-Latitude-E5410 Dev] $ wget http://pecl.php.net/get/xhprof-0.
Bone Study Notes
When we enter a new Linux server environment, we should quickly learn the basic hardware and software information of the server. The following is an example:
# Clear
# Dmidecode | grep Product (Server Model)Product Name: Lenovo WQ R510 G6Product Name: DPX1066RK# Cat/proc/cpuinfo | grep name | cut-f2-d: (which indicates there are 8 CPUs ?)Intel (R) Xeon (R) CPU E5410 @ 2.33 GHzIntel (R) Xeon (R) CPU
Bone learning notes when we enter a new Linux server environment, we should quickly learn about the basic hardware and software information of the server. the following is an example: # clear # dmidecode | grepProduct nbsp; nbsp; (server model) nbsp;
Bone study notes
When we enter a new Linux server environment, we should quickly learn the basic hardware and software information of the server. The following is an example:
# Clear
# Dmidecode | grep Product (server model)Product Name: Lenovo W
Next heavyweight configuration command in Linux: configuration of global variables in cdpathAuthor: Yu Chao Email: yuchao86@gmail.com
The following is a translation based on the book linix 101 hacks,I hope you will give me more comments. If you have a better way, please post your comments or send me an email,
If you often use the CD command to a sub-directory or a special parent directory, you can set the global variable cdpathSpecify the sub-directory or special parent directory to which th
hyperthreading is OFF./bin/cat/proc/cpuinfo | /bin/egrep ' Processor|model name|cache size|core|sibling|physical 'Example 1:single processor, 1 core, no hyperthreadingProcessor:0model NAME:AMD Duron (tm) Processorcache size:64 KBExample 2:single processor, 1 core, hyperthreading is enabled.Notice how we had 2 siblings, but only 1 core. The physical CPU ID is the same for both:0.Processor:0model Name:intel (R) Pentium (r) 4 CPU 2.80GHzcache size:1024 kbphysical id:0siblings:2core id:0cpu cores:
type refers to a data type with an unknown storage size, such as an array type with an unknown storage size, an unknown content structure, a union type, and a void type.For example, if sizeof (max) is defined as int max () and sizeof (char_v), if char_v is defined as char char_v [max] and MAX is unknown, sizeof (void) are not in the correct format.First look at an instance:[Yuchao @ yuchao-Latitude-E5410 scons] $ cat hello. c# Include Struct struct_a
Linux euis1 2.6.9-55.elsmp #1 SMP Fri Apr 17:03:35 EDT 2007 i686 i686 i386
(view current operating system kernel information)
# Cat/etc/issue | grep Linux
Red Hat Enterprise Linux as Release 4 (Nahant Update 5)
(View current operating system release information)
# Cat/proc/cpuinfo | grep name | Cut-f2-d: | Uniq-c
8 Intel (R) Xeon (r) CPU E5410 @ 2.33GHz
(see there are 8 logical CPUs, also know the CPU model)
# Cat/proc/cpuinfo | grep Physical | Uniq-c
will be lost forever, and the attempt to read content from it will not be able to read anything.
For example
An error message such as rm $ badname 2>/dev/null [standard error] will be displayed and will not be stored in the system.
If you need to place the error output and correct output in the same log file, you can use a special method like 2> 1.
You can use
View current jobs
Jobs-l
Abort and delete a job: kill-9% job ID
One server is operated by multiple people. When the system is
information)9, # cat/proc/cpuinfo | grep name | cut-f2-d: | uniq-c8 Intel (R) Xeon (r) CPU E5410 @ 2.33GHz(see 8 logical CPUs, also know the CPU model)9 # Cat/proc/cpuinfo | grep physical | uniq-c4 Physical id:04 Physical Id:1(Description is actually two 4-core CPUs)10. # getconf long_bit32(indicates that the current CPU is running in 32bit mode, but does not mean that the CPU does not support 64bit)11, # Cat/proc/cpuinfo | grep flags | grep ' LM ' |
1. View the number of physical CPUs#cat/proc/cpuinfo |grep "Physical id" |sort |uniq|wc–l2. View the number of logical CPUs#cat/proc/cpuinfo |grep "Processor" |wc–l3. View CPU is a few cores#cat/proc/cpuinfo |grep "Cores" |uniq4, check the CPU frequency#cat/proc/cpuinfo |grep Mhz|uniq5. # Uname-a6. Linux euis1 2.6.9-55.elsmp #1 SMP Fri Apr 17:03:35 EDT i686 i686 i386 gnu/linux(view current operating system kernel information)7. # Cat/etc/issue | grep Linux8. Red Hat Enterprise Linux as Release 4
Intel (R) Xeon (r) CPU E5410 @ 2.33GHz(see 8 logical CPUs, also know the CPU model)9 # Cat/proc/cpuinfo | grep physical | uniq-c4 Physical id:04 Physical Id:1(Description is actually two 4-core CPUs)10. # getconf long_bit32(indicates that the current CPU is running in 32bit mode, but does not mean that the CPU does not support 64bit)11, # Cat/proc/cpuinfo | grep flags | grep ' LM ' | wc–l8 (results greater than 0, description support 64bit calculatio
information in the Cat/proc/cpuinfoprocessor The ID of the logical processor. ID of the processor that physical ID physically encapsulates. the ID of the core ID for each key. CPU Cores The number of cores in the same physically encapsulated processor. siblings the number of logical processors in the same physically encapsulated processor. 1 Viewing the number of physical CPUs#cat/proc/cpuinfo |grep "Physical id" |sort |uniq|wc–l2. View the number of logical CPUs#cat/proc/cpuinfo |grep "Processo
obtains about data records per second (2 CPU * 2 core Xeon (r) e5410 @ 2.33ghz environment test, dozens of bytes of single data ), if you want to achieve higher performance, we recommend that you write it yourself.
4. Optimize Your NicFirst, ethtool ethx to check whether your Internet egress is speed: 1000 Mb/s.For multi-core servers, run the TOP command and click 1 to view the usage of each core. If you find that the CPU usage of cpuid = 0 is signif
GCC4.6.1 warning message for compiling Linux kernel kernel3.0 (original)
Author: Yu Chao Email: yuchao86@gmail.com
[Yuchao @ yuchao-Latitude-E5410 linux-3.0] $ gcc -- version
Gcc (GCC) 4.6.1Copyright 2011 Free Software Foundation, Inc.This program is free software. Please refer to the source code copyright statement. This software has no guarantee;Includes non-marketable and applicable warranties for a specific purpose.
===============================
Address http://bbs.eb2000.cn/redirect.php? Tid = 1928 goto = lastpost
-------------------
From http://blog.csdn.net/zhangren07/archive/2010/07/10/5725002.aspx
View the Linux version: lsb_release-
View CPU information (model)
# Cat/proc/cpuinfo | grep name | cut-F2-D: | uniq-C
8 Intel (r) Xeon (r) CPU e5410 @ 2.33 GHz
(We can see eight logical CPUs and the CPU model)
# Cat/proc/cpuinfo | grep physical | uniq-C
4 physical ID: 0
4 physical ID: 1
(I
Hardware information of the test machine: View CPU information (model) # cat/proc/cpuinfo | grep name | cut-f2-d: | uniq-c 8 Intel (R) xeon (R) CPU E5410 @ 2.33 GHz (we can see eight logic CPUs and the CPU model is available) www.2cto.com # cat/proc/cpuinfo | grep physical | uniq-c 4 physical id: 0 4 physical id: 1 (actually two 4-core CPUs) # getconf LONG_BIT 32 (indicating that the current CPU runs in 32bit mode, but does not indicate that the CPU d
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.