Kill and kill processes in CentOS
After collecting and sorting out the relevant linux killing process materials, I would like to recommend this article to you here. I hope you will see a lot of gains in the future.
1. kill
Purpose: kill a process based on the process number.
Usage:
[Linux] Debian downloads, installs, and graphic interfaces, and uses multiple images to kill cats and debian to kill cats.
Linux has many versions, which are rare compared with non-professional users. Unlike Windows systems, we know a little bit about it. for lower-configuration machines, we choose Windows XP Professional SP3 to use Windows 2003 Enterprise SP2 for Asp, at a very high level, Windows 2012 and
Tutorial directory:G-1. The end source analysis of the big kill-find the character information base offset.G-2. Kill character Information base game exit will change the issue.G-3. Other related information offsets are easily mined by an offset of the character information.G-4. Ultra-strong tips for fast analysis of the characters needed to upgrade experience offset.G-5. Devil Hook inject fast
QQ Sticky worm is a virus, is to use a false QQ landing page to deceive you, so that your QQ number stolen away! The danger is great! Small partners must pay attention, serious precautions!
QQ Sticky worm transmission way:
1, disguised as a QQ brush drilling tools, game plug,2, disguised as a variety of QQ friends to send documents, mainly Office documents mainly.
QQ Sticky Pest Hazard:
Specializing in the QQ stolen number of the lawless elements will be stolen QQ number classification proce
Pt-kill is a good kill MySQL connection tool, is a part of Percona Toolkit, in the due to more idle connections cause more than the maximum number of connections, a problem of SQL causes MySQL load is high, you need to kill some connections, This tool is mainly used for this purpose.
1. Kill by user/usr/bin/pt-
Remotely and quickly kill a session !, Remotely kill a session!Today, A developer called A (not to mention the information) asked in the group:The table is stuck when a large amount of data is inserted. I found that the table is locked and the session has been killed, but it cannot be unlocked. The status is killed. The table cannot be released and deleted, no. The system prompts that the resource is busy.A
Let's say we're going to kill Tomcat:So we first need Tomcat's process number PID:Ps-aux | grep TomcatAfter writing down Tomcat's PID, execute: Kill PID (Tomcat)All right, here we go.Passers-by: the little ones, the guy who cheated people's feelings!Me: Cough! Everybody calm and calm, I this will give everyone to add vegetables ...—————————————————————————————————————————————————Study is not to become lazy,
Php code exec (kill $ pid, $ op, $ returns) cannot kill processes under the linux virtual machine. for example, I write the php code exec ("kill $ pid ", $ op, $ returns). after a pid is run to kill a process, "1" is always returned, which means that the execution fails and the process id remains. I have granted the ma
On the homepage of the past two days, the post-doctoral and migrant workers' differences have attracted the attention of many people, the author, Ji Yu, then published the story "", and Lao Zhao also wrote the story about postdoctoral and migrant workers. aaron looked at him and he looked at him and said that he had some opinions on the small work that he was looking. Aaron took a closer look and found that the employee's practice is very similar to the chicken knife that he used now. However, A
found the server was black, decisively put IP to the ban,but the process of finding black me has been in Sleeping , with what Kill , Pkill It doesn't work .650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/AA/wKioL1WCbdPz-rWaAAJ6xAeXTCI069.jpg "title=" a.jpg " alt= "Wkiol1wcbdpz-rwaaaj6xaextci069.jpg"/>[emailprotected]:/proc#ps-ef|grepzlroot22229 1019:19?00:00:00 sh-c (chmod-r777/tmp) ; (rm-f/tmp/.lz*) ; ( echoyes|cp-p/etc/.zl/tmp/.lz14296
Title, I write PHP code under Linux exec ("Kill $pid", $op, $returns), through the PID kill process, after execution, the return is always "1", that is, the execution is unsuccessful, the process ID is still in after execution. The file that executed the kill call I have given the maximum permission. Online there is said to be php.ini configuration problem what,
Kill tomcat or some you want to kill in one time Kill tomcat sh in ubuntu 10.04 first run try to run this script: ps aux | grep-I tomcat | grep-v grep | cut-d ''-f (1 2 3 4 5 6 .....) in my pc, I run [ps aux | grep-I tomcat | grep-v grep | cut-d ''-f 7] Java code it will show this result: 6817 7239 this result is showing your current tomcat process 'id; my
Or there is a loophole, if working.py not timed out, kill_job.sh will not kill other people's process AHStart. SH #!/bin/bashPython working.py Python working.py Python working.py PIDs=$ (jobs-p)Echo $pidsSH kill_job.sh $pids pids_1=$ (JOBS-P)Echo $pids _1For job in $pidsDoWait $jobDoneKill $pids _1Echo ' Complete 'Kill_job. SH #!/bin/bashecho $1 $2 $3echo'sleep 5 Min, then kill jobs'sleep $1kill $ 2
Basic propertiesThe initial full attribute is increased by 2%Attack: 39Defense: 43Agility: 39Life: 198Flexibility: 39Initial pressure: 1338Evolution: 0/4Introduction to kill and hiding skillsToxic gas injection: the weapon turns into a treasure baby and spams the gas into an enemy. 755 points of toxic element damage, and 60 points of sustained toxic damage each round.Location blocking: physical damage-5%Conclusion:
#!/bin/sh means that this script uses /bin/sh to interpret execution,#! is a special designator, which is followed by the path to the shell that interprets this script.In fact, the first sentence of #! is the script interpreter program path, the content of the script is interpreted by the interpreter, we can use a variety of interpreters to write the corresponding script.such as /bin/csh scripts,/bin/perl scripts,/bin/awk scripts,/bin/sed scripts, even /bin/echo , and so on.#!/bin/bash .#!/bin/b
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.