File type permissions hard link number of user name file size file name-rw-r--r--1 root root 122 07-22 11:07 abc.cOwning user rights group permissions other permissions belong to group name time6 4 4Read and write executionR W X1 1 1R W-1 1
The meaning of the Linux top command virt,res,shr,dataVirt:virtual Memory usage Virtual RAM1. The process "required" virtual memory size, including the library, code, data, etc. used by the process2, if the process to apply for 100m of memory, but
Linux network card changed from eth0 to eth1, how to repair use WMware installed Linux, after the successful installation, the use of the network card is eth0, no eth1. But after a period of time, do not know why eth0 can not be used, the system
Summary of knowledge points in the Linux kernel Analysis 1. How does the computer work?Storage Program Computer Working modelX86 Compilation BasicsAssemble a simple C program to analyze its assembly instruction execution process2. How does the
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 '/
Linux to see the memory occupied by a process, the first can be found through the PS command process ID, such as PS -ef | grep Kafka can see the process ID of this program Kafka As you can see is 2913, you can now view the memory using the
Test environment:192.168.145.210 (NFS server), 192.168.145.209 (NFS Client)Operating system Q: CENTOS7
Install NFS on server side, execute command:yum-y Install nfs-utils rpcbind
Edit the/etc/exports file on the server side to add the shared
The first time to write a blog, do not know how to start, it is straightforward, to enter the theme:We log in to the Linux system,Need to see a list of current directories or a list of files under a specified path: lsof the (Note: Directories are
One, for example:-rw-r--r--. 1 root root 129 Dec TCSHRCWith:1.-rw-r--r--: File type and Permissions (total 10 fields)1.1: The first field represents the file type: "-" for the archives; "D" for the Directory; " L "is a connection file (similar to a
Key words
Mans
--help
Help
1.man
(1) View commandsThe man command is used to view information and usage of other commands, such as the man LS to see an introduction to LS and its usage: (2) View the Help document for the configuration
User state: Ring3 the code running in the user state is subject to many checks by the processor, which can only access the virtual address of the page that is specified in the page table entry that maps its address space, and only the I/O license
Linux Bash programming case statements and scripting (eight)1.case statement in the following format:Case variable inValue 1)Statement 1...;; Each branch statement ends with a semicolonValue 2)Statement 2...;;*) Other, equivalent if statement
Original works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-10000290001. Understand the switching mechanism of the process context and the relationship to the interrupt context
Linux sudo is primarily used to assign partial permissions to specific users, while also restricting specific users from exceeding the scope of permission usage.sudo configuration file:/etc/sudoers (Permission is 440, meaning only the root user can
What is the difference between 1.adduser and useradd?2. Does that way automatically create groups, user groups, and so on?3. How do I create a new user with administrator privileges?$ is an ordinary administrator, #是系统管理员, the root user does not
Mount: Equivalent to the allocation letter under Windows. First, create a custom two, allocation size: 1. Must partition: Root partition: \ (last divided) swap partition: Swap partition (twice times the size of memory 2000MB) it is in the same
In Linux systems, there are two ways to modify the hostname 1, which takes effect temporarily. 2, permanent effectTemporary effective Demo:[[email protected] ~]# hostname 123 Modify host name 123[[email protected] ~]# logout ctrl+d exit [[email
4.1 Multi-tasking Multi-tasking operating system: concurrently interactively executing multiple processesMultitasking operating systems can cause multiple processes to clog or sleep. These tasks, although they are in memory, are not in a functioning
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
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