Linux to determine the number of CPU physics, a few cores

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" |uniq CPU4. Check the CPU

Embedded Linux system porting Development video tutorial

Embedded Linux system porting and development (environment building, uboot porting, embedded kernel configuration and compilation)Course Lecturer: Mr. HanCourse Category: LinuxSuitable for people: intermediateNumber of lessons: 56 hoursUsing

Common basic commands for Linux 01

CdRole: Switch DirectoriesCommon options:~ Switch to the current user home directory.. Switch to Parent directory-Switch to the previous directory locationNote: When a user logs on to a server, the default directory is the user home directory, and

DVD-R burning problem under Linux

Previous CD burning has been using mkisofs, Cdrecord in the command-line toolset Cdrtools. Then the original burning DVD can use its growisofs command.Now suppose the original file directory is/src/and the target directory is/dest/.The Initialize

linux-Package Management-rpm Command Management-checksum

Rpm-v httpd See if the file information in the installed Apache package has been modified by someoneRPM-/etc/httpd/conf/httpd.conf Edit Modify the Apache package configuration file httpd.confEnter "402G" in command mode and jump to line 402Enter "A"

Linux Performance Testing practices

ObjectiveLinux performance testing, monitoring, optimization is a continuous process for LinuxCon on the Brendan D. Gregg shared Linux benchmarking tools , covering a wide range. We can capture most of the information through a mature monitoring

Linux view NIC driver module information

1. Check the driver used by the network card[Email protected] ~]# ethtool-i em1driver:tg3version:3.122firmware-version:ffv7.4.8 BC 5720-v1.30bus-info:0000:01:0 0.02. See where TG3 is located[Email protected] ~]# locate-r Tg3.*ko/lib/modules/2.6.32-27

Linux View CPU Memory usage

During system maintenance, it may be necessary to review the CPU usage at any time, and to analyze the system condition according to the corresponding information. In CentOS, you can view CPU usage by using the top command. After running the top

Linux Serial Console Registration

PRINTK printed information is not printed until the console is registered, but before the console is registered in Start_kernelThere are already printk movements. This information is stored in the PRINTK buf, which can be configured as a BUF

Introduction to Linux file viewing/editing methods

Cat Command IntroductionThe original meaning of the cat command is connection (concatenate), which is used to connect multiple file contents and output to the standard output stream (the standard output stream defaults to the screen). In practice,

Azure Linux Deployment Vsftp

Previously published in Azure VM---Windows server under the FTP deployment, for the use of public cloud, the use of Linux occupies a large proportion, also encountered the use of Linux deployment of FTP requirements, also just started to contact

Linux Fundamentals: 10, basic commands (4)

Query file type and file Location command)FileRole: View the file type (the file type under Linux does not differentiate after the prefix name)Syntax: file [options] filename============================================================================

Linux multi-threading, threading separation and integration

Transferred from: http://www.cnblogs.com/mydomain/archive/2011/08/14/2138454.htmSeparation and integration of threadsat any point in time, the thread is associative (joinable), or detached (detached ). A binding thread can be recovered by

The difference between Windows sockets and Linux socket programming ZZ

Socket related programs to be aware of from Windows porting to Linux:1) header FileUnder Windows Winsock.h/winsock2.hLinux under Sys/socket.hError handling: Errno.h2) InitializationNeed to use WSAStartup under WindowsNot required under Linux3) Close

Install nagios on centos5.8

Install nagios on centos5.8 [root@mode yum.repos.d]# useradd -s /sbin/nologin nagios[root@mode yum.repos.d]# mkdir /usr/local/nagios[root@mode yum.repos.d]# chown -R nagios.nagios /usr/local/nagios[root@mode yum.repos.d]# ll -d

Command Line rm recycle bin in linux/mac -- rmtrash

Command Line rm recycle bin in linux/mac -- rmtrash The command line of linux and mac does not have the recycle bin function. In many cases, an important file is sent to rm-fr * When the hand shakes. Although it may be retrieved through lost +

Change the administrator password in single-user mode in Linux

Change the administrator password in single-user mode in Linux Use CentOS 6.6 in Linux 1. Press e or enter to enter the GRUB Startup Menu after starting the instance, as shown in figure; 2. Press e to enter the editing mode, and move the

How to modify the NIC after vmwarevm clones CentOS 6.5

How to modify the NIC after vmwarevm clones CentOS 6.5 After the CentOS6.5 system is installed on the vmwarevm, the pure system is cloned several times for later testing. The clone process is very simple. The problem after cloning is that the MAC

Install JAVA in CentOS 7

Install JAVA in CentOS 7 Step 1: Check whether the built-in JDK of Linux is installed The installed CentOS comes with OpenJdk and uses the java-version command. The following information is displayed: Java version "1.6.0"OpenJDK Runtime Environment (

Install the Samba File Server in CentOS

Install the Samba File Server in CentOS The services provided by the file server are used by most companies or enterprises, because different resource files are obtained from different positions in any company or enterprise, this requires

Total Pages: 5467 1 .... 1392 1393 1394 1395 1396 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.