The previous section has the system Initramfs has started to complete, the system control to the real Rootfs/sbin/init, the following is the time/sbin/init work.4/sbin/initInitramfs init script, through the Switch_root command, after switching to
1. View the number of concurrent requests for Webserver (Nginx Apache) and their 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
the properties of a Linux file or directory include: The file or directory's node, kind, permission mode, number of links, the user and user group to which it belongs, the time of the most recent visit or modification, and so on . . The details are
Linux viewing processes that occupy the highest CPU
PS Aux|head-1;ps aux|grep-v pid|sort-rn-k +3|head
or top (then press m, note that this is uppercase)Linux view the most memory-intensive processes
PS
Linux system ArchitectureLinux Design philosophy All documents/ Linux File System entry , is also at the highest level of the directory;/bin the required commands for the basic system. Functions and/usr/bin are similar, the files in this directory
Steps:1. Generate a key pair and store the private key in a safe place2. Create a directory on the serverMkdir/root/.ssh3. Write the generated public key to the fileVi/root/.ssh/authorized_keys4. Modify Permissionschmod
In the Linux environment, the generated picture with text in the foreground has been shown as box garbled, Windows environment is normal.Img.setfont (New Font ("Arial", Font.Bold, 20));You must set the font before you can enter a picture in Chinese,
Modify the/etc/fstab file, assuming that you mount to the/data directory, add the last line/DEV/SDB1 /data ext4 defaults 1 1The final results are as follows:# #/etc/fstab# Created by Anaconda on Thu Sep one 0
Current Situation and Future Prospects of Linux O & M, and future prospects of linux O & M
As the number of Enterprise Servers increases, after hundreds and thousands of servers are reached, the daily management of servers is also complicated. If
A deep understanding of Linux memory management and a deep understanding of linux1. Memory Address
Taking Intel's central processor as an example, in a 32-bit Linux system, the basic unit of physical memory is Byte, and one Byte has eight binary
Use IPMI to control/monitor Linux servers, ipmilinux1 IPMI Overview
IPMI provides many rich functions. The functions I use are as follows:
1. Obtain the hardware information of the device, including the temperature, voltage, and fan speed of the CPU
Add a new hard disk in Linux and a hard disk in Linux
1. Find the new hard disk in the/dev/directory. sda is the local hard disk, sda1, and sda2. it is the partition, and sdb is the newly added hard disk, such:
[root@wusuyuan ~]# ls -ltr
Vim commands in linux
A detailed introduction of vim commands in linux.
Some advanced editors will contain macro functions, which are certainly not missing in vim. It is very convenient to use Macros in vim:
: Qx starts to record macros and saves
CentOS multi-IP settingsMethod 1: manually bind a small number of IP addresses (Here we use binding an IP address to eth0 as an example. If other network cards are used, modify the corresponding file name)
1. Copy the NIC configuration file for the
Ubuntu ° ² × ° mysql-python
1. Ê × ~ä~~~è · ¨ ubuntu ü Ü ü Â Ä µ. x.í 14. X £ ********************************************************** £.
Î Á áë ° ² â «Æ ð û cp/etc/apt/source. list/etc/apt/source. list. bak
When «Ï  à µäúè Ý µ 'µ½/etc/apt/source.
Cisco 2015 campus recruitment test interview Summary
I registered for the position of Cisco-EDS. I wrote the examination on Saturday, November 1, 2014. The examination questions are divided into the following parts: C/C ++, Python, Alogrithm & OS,
Detailed description of systemd
CentOS 6 and earlier versions use the SysVinit System Boot Process Management System. Generally, you can customize your system startup sequence by configuring the/etc/inittab file. However, the control flow of the
Mapper and Reducer in Hadoop-2.4.1 Learning
MapReduce allows programmers to easily write programs that run in parallel on large-scale clusters to process large amounts of data, ensuring stable and reliable program operation and fault tolerance.
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