1. View the number of concurrent requests for the Web server (Nginx Apache) and its TCP connection status:Netstat-n | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, s[a]} 'Netstat-n|grep ^tcp|awk ' {print $NF} ' |sort-nr|uniq-cOr:Netstat-n | awk '/
Now that the kernel has been loaded into memory by us, it's time to jump into protected mode.The first is the GDT and the corresponding selector, we define only three descriptors, one 0~4GB executable segment, one 0~4GB read-write segment, and one
(summary) Linux chattr and LSATTR commands are detailed in: Linux, Security, UNIX, Personal diary, original summary|Author: Seeking for the world of the World Tags: chattr,linux,lsattr, command details, summed PS: Sometimes you find that you can not
1. Some lib required by GCCGmp:a Free Library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point Numbers.Mpfr:multiple Precision floating-point Reliable Library.Mpc:a C Library for the arithmetic
Download linux-4.5.1.tar.gzUnzip in any directory. I unzipped the/home/tiny6410/.# CD LINUX-4.5.1/Modify the makefile file on lines No. 251 and 252 to change to its own cross compiler251 ARCH ? = arm252 cross_compile ? = arm-linux-
First, query CPU information:[root@c Ubix ~]#cat/proc/cpuinfo
Processor: is a unique identification of the bare metal CPU.
VENDOR_ID: Identifies the type of CPU, Genuineintel is an Intel processor.
Physical ID: is a unique
Key words
Write
Wall
Last
Lastlog
Traceroute
Netstat
Mount
1.write
This command can send messages to all online users Example: Accept Message User: Press ENTER to exit 2.wall
Send messages to all online
XargsUsing Find to locate a file is a batch output, but there is no need to do this, but when the file you are looking for needs to be processed, it is possible that the parameter column is too long or the parameter column overflows to cause an
Suid,sgid and sticky special privileges under LinuxSpecial permissionsSUID: When running the specified program, the owner of the corresponding process is the owner of the program file itself, not the initiator;chmod u+s file increased suid bitchmod
Process switching and general execution of the systemFirst, the process of scheduling the three time:1. Interrupt processing (including clock interrupts, I/O interrupts, system calls, and exceptions), call schedule () directly, or call schedule ()
"Copyright notice: Reprint please keep Source: Blog.csdn.net/gentleliu. E-mail: shallnew*163.com "The kernel must process the interrupt system before processing the 2-tier packet. Setting up an interrupt system makes it possible to process thousands
Li Chenxi Original works reproduced please specify the source "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000I. Analysis of key code SWITCH_TO for process switching 1. Timing analysis of process scheduling and
First, the concept of threading The process runs in separate address spaces, the process of sharing data between processes requires Mmap or interprocess signaling, and in this section we learn how to execute multiple threads in the address space
Upgrade GitLab 7.9 To 8.0.1
1. gitlab8.0 update description
GitLab 8.0 is now fully integrated with the continuous integration tool (GitLab CI). In addition, the UI is completely rewritten, saving at least 50% disk space. Faster merging, built-in CI
IP configuration in CentOS and CentOSIP
1. Open the command window and switch to the root account: su-root.
2. Go to the directory:/etc/sysconfig/network-scripts, open the file vi ifcfg-eth0
3. Modify parameters:
# Name DEVICE = eth0 # physical
Mac date command, macdate
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
Parameter Parsing:
-J: Use-j to use-f
-N: by default, if the scheduled process
Implementation and working principle of heartbeat high-availability cluster in CentOS 6.5In Linux HA Cluster, high availability is not the high availability of hosts, but the high availability of services.What is high availability? A server may be
Some advanced Zabbix Functions
Based on the Environment configured in the previous article (SEE), the following describes how to execute remote commands on zabbix agent.
Remote commands are subject to some restrictions:
(1) The following sudu rules
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