We can use Kill-l to see all the semaphore interpretations, but we don't see the explanation for signal 0.[[Email protected]~]# kill-l 1] SIGHUP 2) SIGINT 3) sigquit 4) Sigill 5) SIGTRAP 6) SIGABRT 7) Sigbus SIGFPE 9)
Linux process viewing and managementBasic features of the OS: file system, network functions, process management, memory management, drivers, security featuresprogram = instruction + dataCpu:Privileged DirectivesGeneral InstructionsProgram execution
We discussed the PS command, top and htop tools in the previous section, and we discussed how several other tools were used.1.vmstat command:Vmstat [Options] [delay [count]]650) this.width=650; "src="
We can use Kill-l to see all the semaphore interpretations, but we don't see the explanation for signal 0.[[Email protected]~]# kill-l 1] SIGHUP 2) SIGINT 3) sigquit 4) Sigill 5) SIGTRAP 6) SIGABRT 7) Sigbus SIGFPE 9)
Common commands for managing jobs in Linux1 put the command or script in the background to run#命令 &egRPM-IVH zlib**.rpm &./run.sh &2 pausing a command to the backgroundCTRL + Z3 Viewing background commands#jobsParameters:-L: The PID is listed in
If you need to speed up the execution of a script, you may need to use a background job. Background jobs can run multiple events in the script at the same timePowerShell is a single-threaded session and can only do one thing at a time. Background
Directory
Re-recognize variables
Function
Conditional statements
Looping statements
1. Re-identification of variablesThere are 3 types of variables in the Shell: User variables, positional
Linux Process RelationshipsVamei Source: Http://www.cnblogs.com/vamei Welcome reprint, Please also keep this statement. Thank you!The Linux process has a certain relationship with each other. For example, on the basis of the Linux process, we see
Linux Task (Jobs) detailedAfter executing a command with the administrator, the command is moved to the background with CTRL + Z. Causes the root cannot be exited.Input command: ExitTerminal display: There is stopped jobs.Workaround:Method One,
Htop is an enhanced version of the top tool that provides a more aesthetically pleasing interface to the administrator, supports interactive commands and supports mouse selection, and is included by Red Hat in the high-quality software source Epel
Classification of processes:Terminal-related processesGenerated by a terminal.Terminal-independent processesThe process that is loaded when the kernel starts.Process priority:The smaller the number, the higher the priority.0-99: Kernel tuning100-139:
SECURECRT to continue running the program after it has broken down. That is, the program will be executed in the background until the end.The SECURECRT is connected to the client side via SSH, and the task is killed if the window is closed or
# # # #1. Process Definition # # #Process is the work that the CPU does not complete# # # #2. PS Command # # #PsA # #关于当前环境的所有进程X| -A # #所有进程F # #显示进程从属关系E # #显示进程调用环境工具的详细信息L # #长列表显示进程的详细信息U # #显示进程的用户信息-A # #显示shell前台运行命令的进程 but does not
Concept of Process Management1. The program is static, itself as a long-term software resources, and the process is dynamic, there is a certain life cycle, is the dynamic generation and extinction, the process of each execution of a time slice
# # # #1. Process Definition # # #Process is the work that the CPU does not complete# # # #2. PS Command # # #PsA # #关于当前环境的所有进程X| -A # #所有进程F # #显示进程从属关系E # #显示进程调用环境工具的详细信息L # #长列表显示进程的详细信息U # #显示进程的用户信息-A # #显示shell前台运行命令的进程 but does not
1. Process definitionProcess is the work that the CPU does not complete2.ps commandPsl long format output;U displays the process in the order of the user name and start time;J Use the task format to display the process;F to display the process in a
Background process:Every time we execute the command in the Terminal window, the process will always occupy the terminal, go to the end of the process, during this period of time, our input in the terminal is useless. Also, when the terminal window
1. Select the appropriate log level2. Output clear hint text and adequate field information3. Output content line up, do not wrap4. Other 1. Select the appropriate log levelYou need to follow some common specifications when choosing a log level, and
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.