To view the number of logical CPUs:#cat /proc/cpuinfo |grep "processor"|sort -u|wc -l24To view the number of physical CPUs:#grep "physical id" /proc/cpuinfo|sort -u|wc -l 2#grep "physical id" /proc/cpuinfo|sort -u
First, before writing the switch command, it is very rare to switch the graphical interface in general work, because it is mostly remote, so we only discuss it here.Linux presets provide six command window terminals let's log in. By default we are
Requirements: There are 3 hosts 192.168.0.191, 192.168.0.192, 192.168.0.193, need to implement password-free SSH internet accessI'm using the root user to do this:1, each node checks whether to install OpenSSH (each node does): If you do not have
SummaryToday, during the writing of the socket, during which I encountered viewing the status of a certain port, I then looked it up from the Internet and summarized it.ContentAs we all know, the port is not independent, it is dependent on the
concepts and differences of TTY, Pty, and PTS for Linux systems
TTY (collectively referred to as terminal equipment):The word "TTY" originates from teletypes, or teletypewriters, which originally refers to a telex typewriter, which is used
This paper mainly introduces some basic concepts in the page reclaim mechanism. This document can also be viewed as reading a reading note in the first section of chapter 17th of Ulk. Although Ulk has read many times, but every time still feel a
1 Installing the VSFTPD assemblyAfter installation, there is a/etc/vsftpd/vsftpd.conf file, which is the vsftp configuration file.[[email protected] ~]# yum -y install vsftpd2. Port description of FTP Active mode and FTP passive modeFTP is a
First, prefaceAfter the Memory initialization code Analysis (i) and the Memory initialization Code Analysis (ii) of the transition, we finally came to the core of memory initialization: Paging_init. Of course, this article can not parse all the
I think for a long time do not know how to start, then direct point, the main talk about three commands, DF du fdiskOne command DFDF, disk free, can be used to view the current system mount or to view the overall disk usageDF with no parameters,
The Linux kernel organization manages physical memory in the form of buddy system (partner system), while physical memory fragmentation formally buddy one of the weaknesses of the system, and in order to prevent and solve the fragmentation problem,
Recently started writing some articles for the subscription number "Geant4 Incomplete learning Guide".The body begins.Four easy steps to install GEANT4 (Linux) | Entry软件版本:Ubuntu16.04,Geant4.10.04预备知识:Linux命令行终端的简单使用GEANT4 official has adapted to
[Reprint] Reference blog: https://www.cnblogs.com/wangqiguo/p/6464234.htmlecho '--help ' | Cat This command outputs the echo content, which means that Echo's content is treated as a cat-processed file, in effect the output of the Echo command is
What is routine work scheduling1 Types of Linux work scheduling: At,cronTwo ways to schedule a job:Routine: Items to be done every certain periodBurst: Do not do it only onceAt:at is an instruction that can handle the completion of a scheduled
The C standard library and C + + STL are examples of shared components that can be linked by our programs. The benefit is that each object file does not need to be stated when it is linked, because the developer can refer to the library in bulk.
A: Special permissionsSUID: When SUID permissions are enforced on an executable binary, anyone who executes the file temporarily has the permissions of its owner.SGID: When SGID permissions are enforced on an executable binary, anyone who executes
In shell, what is the use of quotation marks ($ "string" and $ 'string') and shellstring?
Sometimes you can see $ "$ string" in some service management scripts. After some tests, it is found that $ is the same as $ outside the quotation marks. I
Add new modules to httpd and add modules to httpd
Sometimes, due to special requirements, you need to add some additional modules to the installed httpd. In this case, you need to use the apxs tool in httpd-devel. To use this extension mechanism,
Packet Capture analysis tool-tcpdump
Tcpdump (dump the traffic on a network) is a more practical tool for analyzing data packets in Unix, it supports filtering at the network layer, protocol, host, network or port, and provides logical statements
Build a Kafka Cluster Environment in LinuxEstablish a Kafka Cluster Environment
This article only describes how to build a Kafka cluster environment. Other related knowledge about kafka will be organized in the future.1. Preparations
Linux
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