View multi-core CPU commandsMpstat-p All and sar-p allDescription:sar-p all > Aaa.txt redirect output to file Aaa.txtThe top command is often used to monitor Linux system conditions, such as CPU, memory usage, the programmer basically knows this
First of all. Request no more framed netfilter. Although it has some inherent performance loss, but please do not equate iptables and netfilter, assuming you want to catch the culprit, please say iptables, instead of saying netfilter!Iptables really
Today, some classmates asked me to look at the directory size under Linux command, now also will be the former learning to DU/DF two command summary of it.In the pre-test work, we have encountered the DF and du two commands because of the fact that
Environments, virtual machines under the Win7 system, virtual machine systems for centos6.6Because Windows did not shut down for a long time, and then today the computer feels the card is restarted, the result is restarted, the Linux link is not on,
Using GParted to adjust the expansion of Linux partitionswhen the hard disk uses Standardpartition, instead of LVM partitioning, it is very inconvenient for the subsequent expansion of hard disk space. System environment: Centos 6.9 x64This
Ifconfig command
Features: You can manually start, view, and modify the parameters of the network interface.
Usage:
Ifconfig//View NIC information showing activation status by default
Ifconfig Etho//display information
First step: Create a public and private keyStep Two:Create the. SSH directory with the Authorized_keys fileMkdir/root/.sshVi/root/.ssh/authorized_keysStep Three:Save the private key, the public key is stored in Authorized_keysFourth
CP (copy)
The CP command can copy files or directories, and can also create linked files.[[email protected] ~]# CP [-ADFILPRSU] source file (source) destination file (destination) [[email protected] ~]# CP [Options] Source1 source2 s Ource3.
The NC command in Linux is a powerful network tool, the full name is Netcat.Grammar:NC [-hlnruz][-g][-g][-i][-o][-p][-s][ -V ...] [-wParameter description:-g Set Router Hop communication gateway, the most lost oh can be set to 8. -g set source route-
1. How do I see the current Linux system with several physical CPUs and the number of cores per CPU?Number of physical CPUs: Cat/proc/cpuinfo |grep-c ' physical ID 'How many cores does the CPU have: Grep-c processor/proc/cpuinfoDivide the total
This category has an environment one-click installation. What's going on behind this? Let's use the source code to install it manually.1. First of all, there is a centos that can be networked.2. Baidu NINGX Official network download http://nginx.org/
20 days 0 Basic Linux Primer learn to master video liveLecturer: The old boy It education-lee Li teacher many years of Linux first-line combat experience and Linux teaching experience, good at graphic expression to explain the abstract concept, good
Linux View and modify file permissions and related to view file permissions: In Terminal input: Ls-l xxx.xxx (xxx.xxx is the file name) then there will be similar information, mainly these:-rw-rw-r--there is a total of 10 digits: The first
Find a File IntroductionThere is a very important file (sources.list) but you forget where it is, you vaguely remember it in the/etc/directory, now you want to find out this file, and then set it to be accessible to you, but other users cannot
Performance AnalysisVmstatVirtual Memory StatisticsUsage
Usage:
Vmstat [Options] [delay [count]]
Options:
-A,--active active/inactive memory
-F,--forks number of forks since boot
-M,--slabs Slabinfo
-N,--one-header do not
with the development of the times, we know more and more computers in our lives, more and more hackers, for security purposes, we need to record the user's login and operation log; we need to understand what each user on the server does after
I. Introduction TO Services for NFSNFS is the abbreviation for the network file system, which is the web filesystem. A contract for the decentralized file system, developed by Sun, was announced in 1984. The function is to enable different machines,
Threads (1)This article describes how to use multiple control threads to run multiple tasks in a single process environment.All threads in a process are able to access the constituent parts of the process (such as the file descriptor and memory).The
Check memory usage in Linux, and check memory usage in linux
Input: top
PID
Process ID
USER
Process owner
PR
Process priority, the smaller the priority, the execution
Ninice
Value
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