The number of Linux CPUs is judged by/proc/cpuinfo.Same Physical ID: determines a physical processorIf "siblings" and "CPU cores" are consistent, hyper-threading is not supported, or hyper-threading is not open.If "siblings" is twice Times "CPU
An original socketThe original socket (SOCK_RAW) is a different socket than Sock_stream, SOCK_DGRAM, which is implemented at the core of the system. However, what can the original socket do? First of all, the normal socket can not handle the ICMP,
Turn off SELinux functionality• Modify the configuration file to take effect foreverThe first method of modification VIVI vi /etc/selinux/configModification: SELINUX=disabledThe second method of modificationsed ' s/selinux=enforcing/selinux=disabled
Comparison of common DOS and Linux commandsMany of the Linux commands you type at the shell prompt are similar to the commands you type under DOS. In fact, some commands are exactly the same.This appendix provides common commands for Windows with
One, cacti installation deploymentTo build this platform is in the lamp environment, first of all to ensure that apache,mysql,php. installation is successful. There's no writing about that.1, cacti server-side installationDownload cacti related
Linux kernel socket optimizerVi/etc/sysctl.confNet.core.netdev_max_backlog = 30000 The maximum number of packets that are allowed to be sent to the queue when the rate at which each network interface receives packets is faster than the rate at which
1./optThis directory was reserved for all the software and add-on packages, that is, not part of the default installation. For example, StarOffice, Kylix, Netscape Communicator and WordPerfect packages is normally found here. To comply with the
first, create a branch1, create a branchSVN copy svn://xx.com/repo/trunk svn://xx.com/repo/branches/try-something-m ' Make branches try-something '2. Move the working directory to the branchSVN switch svn://xx.com/repo/branches/try-somethingOf
through the study of this chapter, I learned a complete Linux drivers: Counting the number of words Word_count Drive, and learned to test as if using a different method Linux Drive, but also to Linux A deeper understanding of the drive development
The sixth one Linux Program: Count the number of wordsFrom this chapter to start the actual combat, the example is to count a piece of text or a paragraph of the number of words. It also describes different ways to test Linux drivers, which are used
See if the NIC is installed properlyCommand: Lspci |grep ether1. Modify the NIC configurationCommand: Vi/etc/sysconfig/network-scripts/ifcfg-eth0Device=eth0Bootproto=none
In the previous study, our service can only serve one client at a time, even if the accept () function is included in the loop, it can only serve multiple clients sequentially, and there is no concurrency service capability, which is obviously
This experience is done under CentOS release 6.7 (Final): View directory with ls command/var display: # Ls/var/account crash db Games local log NIS preserve SP Ool ypcache CVs empty lib lock mail opt run tmp for a more intuitive display of the file
The process scheduling algorithms in Linux are categorized as follows:First, first come service and short job ( process ) priority scheduling algorithm1. First come first service scheduling algorithm (FCFS) first come first serve FCFS)
Use Shell scripts to automate Linux maintenance tasks
If a system administrator spends a lot of time solving problems and doing repetitive work, you should doubt whether this is correct. An efficient system administrator should make a plan to spend
Install ElasticSearch on CentOS
Elasticsearch is an open-source search engine based on Apache Lucene (TM). It is similar to Solr, but it has excellent performance and Solr in real time. Here is a comparison between the two.Another blog posted by
Set ip bond in Linux and ipbond in linux
In the early days of computer network popularization, many OS systems use a single Nic, that is, one Nic uses one IP address. With the increasing network requirements, we can bind and aggregate multiple NICs
Mutual query between Linux port number and PID
Recently I used Linux to play with Tomcat. When I started it, I always reported an error (8080/8009/8005). So I sorted out the PID and port commands on the Internet for record.
1. query the PID
Use Memcached for Tomcat cluster Session sharing
Environment CentOS6.7. download and install the necessary software: yum-y install epel-release (tomcat7 is currently the mainstream version of tomcat7)
Yum-y install tomcat download tomcat 7 directly,
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