Top
Equivalent to Windows Task Manager
you can see that the output is divided into two parts, the first 5 rows is the overview, the following is the specific process resource usage. take a look at the following line
Line 1th
top-18:14:58 up, 1:35, 1
First draw a picture, as follows:LVM is the abbreviation for Logical Disk volume management (logicalvolumemanager), which is a mechanism for managing disk partitions in a Linux environment, and LVM is a logical layer built on hard disks and
One, the cat command1, Cat use: Display the contents of the fileEx:cat a.txt #显示a the contents of the. txt fileCat/proc/uptime第一个值表示系统从开机到现在的时间(s)第二个值表示系统开机后空闲的时间(s)系统空闲比:第二个值/第一个值2. Command format: Cat [options] File
LInux Log Lookup methodsuitable for testing, development, operations and maintenance personnel, to find Linux server problems of the general method, more practical, if there is a better way to discuss a piece, welcome the Great God to guide ha!!!Go
Linux Server Optimization --time_wait Questions:Check for server time_wait issues:Netstat-n | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, S[a]} ' return: time_wait 41735close_wait 145fin_wait2 3ESTABLISHED 413 Optimized configuration:sudo nano/
1 command function (brief description):The command mainly has two usages (1) To change the access time and modification time of the file to the current time, (2) The nonexistent file will be created as an empty file unless the-C or-h option is used;2
What configuration items do I need to configure to access the Linux host to the network?Ip/netmask: Local communication.Routing (Network Management): cross-network communication.DNS server address: Host-name-based communication.There are three types
1.cobbler IntroductionCobbler is a Linux server-installed service that can be installed quickly through a network boot (PXE), reloading physical services and virtual machines, and managing DHCP, DNS, and so on.Cobbler can be managed using the
1. User Management
1.Linux User Management
Linux has three types of users:
(1.) Superuser: Root user has all the privileges of the operating system uid=0
(2.) Normal User: With limited operating system permissions uid=500-6000
(3.)
"Linux Command"LS lists the files in the current directoryPWD Current PathCD changes the current pathTouch Create Filemkdir Creating a FolderClear Empty Command WindowLs-a display all files in the current directory (including hidden files)LS-L
I. Introduction of CrondCrond is a daemon that is used to periodically perform certain tasks or wait for certain events under Linux, similar to Scheduled tasks under Windows, when the operating system is installed, the Service tool is installed by
Packaging compressionWindows:. rar. zipWinRAR zip 7zip good pressurelinux:.tar.gz. tar.bz2. zip. xzGzip bzip2 and tar (packaged)Packaged:#tar CVF File.tar Packaged files ...#tar CVF Abc.tar a b c d EC CreateV VerboseF fileUnpack#tar xvf packaging
Process ConceptsFunction of kernel: process management, file system, network function, memory management, driver, security function, etc.Process: A copy of a running program that is a collection of instructions that is loaded into memoryProcess
Buy a new server, you need to manually partition the hard disk mount: (This is CentOS, other versions should also be similar)1. View hard disk with no partition: Fdisk-l The information on the graph shows that the server consists of three hard disk
1. View of the process:
Ps–el
--E: Show all processes, including those without control terminal
--l: Display in long format
The results show:
PID: Process Number
PPID: Parent Process
TTY: Control terminal
Stat:
First, partition the SDA disk:To see how many primary partitions the SDA disk has already used, as shown in, the primary partition is already using 3, so you should choose an extended partition:Second, partition the extended partition:Third, the
Most of the machines are made of RAID5 and RAID10, respectively made VD1:100G,VD2: the remaining capacity (greater than 2T). For the mounting of disks larger than 2T, you can refer to the following methods: 1, parted partitionparted/dev/Sdbgnu
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