Linux process View PS command LinuxPS process PS command is most commonly used to monitor the working status of background processes ps [options] instructions on command options:-e shows all processes. -F full format. -H does not display the title. -
Im editing command summary 1. after VIM is highlighted and entered into vim, enter the following command in normal mode to enable php code highlighting: syntaxenable: source $ VIMRUNTIMEsyntaxphpvim common VI commands ________________________________
Solve the problem of insufficient disk space in linux 1. First, let linux be powered off; 2. right-click your virtual machine name and select settings; 3. select add on the displayed page. the following box is displayed. 4. select HadrHisk (add hard
Modify the ulimit optimization server. by default, the file descriptor of the linux system is 1024. in the case of heavy load, this file descriptor is far from enough. The following two methods are available: 1, run the ulimit command to modify and
The sed advanced multi-line command sed editor contains three commands that can be used to process multi-line text: add the next row in the data stream to create a multi-row Group to process 2D: Delete a row in the multi-row group 3 P: print a line
King @ king-E430 :~ $ Df-lhFilesystemSizeUsedAvailUse % Mountedondevsda851G12G37G24 % udev28G40K28G1 % de View system usage in ubuntu linux king @ king-E430 :~ $ Df-lhFilesystem Size Used Avail Use % Mounted on/dev/sda8 51G 12G 37G 24%/udev 2.8G 4.0
Replace the strings in the file with the & mdash; command in Linux. if you want to replace a string in a text file, use the sed command. The following is an example: replace all the desc strings in the testtxt file with helloworld. use the sed Linux
Common Vim configurations (~ Vimrc) & quot; Thismustbefirst, beacuseitchangesotheroptionsasaside1_tsetnocompatible & quot; showlinenumberssetnumber & quot; display & Vim common configurations (~ /. Vimrc) "This must be first, beacuse it changes
Some useful linux commands and tips! $ Represents the last string of the previous command. it is used to simplify input !!, Indicates the previous command. if you do not want to press the downward direction key + press enter, you can use this ^ old ^
The linuxarping command learns how to use the arping command to send ARPREQUEST packets to neighboring hosts. The 1arping command can be used to test the connectivity between hosts in the Lan and the connection to the Internet,
Obtain date-d & quot; 1 dayago & quot; + & quot; % y % m % d & quot; date-d & quot; 1 monthago & quot; + & quot; % y % m % d & quot; similar to date-d & quot; -1dayag1monthag: method for obtaining the date of the previous day date-d "1 day ago" + "%
Wc-cfilename: displays the number of bytes of a file wc-mfilename: displays the number of characters in a file wc-lfilename: displays the number of lines of a file wc-Lfilename: display the maximum length of wc-wfilename in a file:
Wc-c filename:
Using Shell for hexadecimal conversion assumes that there are some numbers in your script, and you need to process them in another hexadecimal format. Shell operations can easily automatically implement such conversions. One case is to use Shell to
LINUX Zombie process processing 1 What is a zombie process: when a child process ends before the parent process, but the parent process does not recycle the child process, release the resources occupied by the child process, in this case, the child
Commonly used linux command combination serial number task command combination 1 delete 0 byte file find-typef-size0-execrm-rf {}; findtypef-size0-delete2 View process, sort by memory from large to small ps-e-o common linux command combination
Shell practice: use shell to automatically receive and load the haproxy Configuration file, so that the configuration takes effect. haproxy automatically receives the configuration and loads 002. Introduction to the background receiving
Linuxshell programming ---- variables and references 1 variable 1 variables are used to save useful information, such as path names and file names. variables are essentially one or more memory addresses. 2 variables are divided into three local
Run the top command to view the average load of the linux system. the output line is top-18: 08: 45up2: 37,2 users, loadaverage: 015,006,010 the last three digits indicate the average processes in the process queue in the past 1 minute, 5 minutes,
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