Linux kill usage, killall, pkill, and xkill
Linux kill usage, killall, pkill, and xkill
1. Kill, killall, pkill, and xkill tools for terminating Processes
Terminate a process or terminate a running program, usually through kill, killall, pkill,
[Linux study notes] Usage of kill and kill-9 and how to exit the process elegantly 1. kill and signals the kill we mentioned here refers to the kill that serves as the shellcommand (comparatively, there is a systemcall named kill in linux system,
1. kill, killall, pkill, and xkill tools for terminating Processes Terminate a process or terminate a running program, usually through kill, killall, pkill, xkill, etc. For example, if a program is dead but cannot exit, you should consider using
[Linux Study Notes] usage of kill and kill-9 and how to exit the process elegantly 1. kill and signals the kill we mentioned here refers to the kill used as the shell command (in contrast, there is a system call called kill in the linux system, man 2
Sometimes we can't kill a process using kill, but we can use kill-9, why?First look at the kill function, the man manual for Kill is described as follows:Kill (1) Linux User ' s Manual
PS Viewing processThe Inux process has 5 states:1. Running (running or waiting in the running queue)2. Interrupt (dormant, blocked, waiting for a condition to form or receive a signal)3. Non-interruptible (receive signal does not wake up and not run,
As a result of your responsibilities, you have to read the notes for obscure Linux applications. Then, you run the command and edit the settings file. Everything is running and livingBeautiful. However, you know, good times will not last forever.
Use of man manual for basic Linux knowledge
In Linux, man is frequently used. Using it flexibly allows you to quickly learn how to use commands that you are not familiar. Next we will introduce man
Environment CentOS6.8
Man-format and display the on-
Summary of the basic operations of Linux, basic operations of linux
Preface
Linux was a UNIX-compatible operating system developed in 1991 and can be used for free. Its source code can be freely transmitted and can be modified, enriched, and
In Linux, how does one view, kill, and start processes? (Common commands), common linux commands
Keywords: linux Process query, killing process, Starting Process
1. Check the process
Ps command to find the process-related PID:
Ps a shows all
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.