A partition
View Swap partition Swapon-s /dev/sdb8 activation -a/dev/sdb8 -s (SDB8 entered the file) Provide memory service free (buffers cached) View all system Information -A current operating system version /etc/ Redhat.release -m (shown in m) -s (view swap partition) /dev/sdb8 (Close SDB8 partition)
Two-process one-time dynamic execution
Daemon: Some processes running in the background and providing system services (running in the background)
Parent-Child file process: When one process creates another, the first is the parent process, and the second is a child process.
Zombie Process: The CPU does not move the process, still in memory, do not run out; (account for memory, do not work)
PS aux | Less | grep + Process name -9 (number) (forced kill) + process PID number
pkill-9 + process Name
Firefox & (running in the background)
Job (number 1th) View background work number
Kill-9%1
PS tree View All processes
Pgrep + process name as long as PID mode
Kill-9 +pid No.
Triple binary package management (RPM yum)
1 Test hard disk write speed if =/dev/zero (empty file can be taken from data to write) of=/a.txt BS =1g count=1
Roughly the size of the data under the test root.
2 How to install packages in Linux
CD packages/rpm-IVH +Package name vsftpd Tab complement rpm-qi +Package Name view other specific information rpm-QL +Package name view with package about where the file is placed rpm-QA See how many installation packages RPM-qa | grep +package name to see if the system has just installed a package rpm-qa +Package Name View File Yes there is a package that generates RPM-QF +file eg rpm-qf/user/share/man/man8/vsftpd8.gz
Which LS view command corresponding file location
Rpm-qf/user/bin/ls ls is generated by which package
echo $ takes a value of a variable
Eg:x=1->echo $ x, proposed variable x is 1
Global variable Eg:echo $ PATH
LS execution complete process ls->shell->path->/user/bin/ls->alias->/user/bin ls ls ... color=auto
Eg: Kill process: Alias Gansita = ' kill-9 '
Alias Cyc = ' Pgrep fireFox '
ay!
Gansita (first name) 3294
or vim/etc/profile alias Cyc = ' Pgrep fireFox '
Vim/etc/bashrc
Delete rpm-e vsftpd (+ package name)
Verify that Rpm-qa |grep vsftpd is removed
Take a command to execute the result'Rpm-qa |grep vsftpd'
Remove software name Rpm-e'Rpm-qa |grep vsftpd' Improve operation
Pack RPM-IVH httpd-2. Need to install packages
Little white Python road 11/3 Memory Process binary package rpm Yum