Questions tagged [kill-process]

This tag refers to the action of terminating (aborting) a process.

Use this tag for questions related to killing a specific process on a system.

701 questions
0
votes
1 answer

(rpi) linux how to kill a process (PiAUISuite) or find the file where the pid is written

I am using a program (PiAUISuite, http://stevenhickson.blogspot.com.es/) that I cannot find how to kill the process. Looking at the code (https://github.com/StevenHickson/PiAUISuite) I can see that it checks if the pid_file is empty or not, so it…
GWorking
  • 4,011
  • 10
  • 49
  • 90
0
votes
0 answers

start application from scratch if killed from task manager

I am running an AsyncTask on the login screen for which I am using process dialog. The problem is if I kill my application from recent application or from the settings and again launching it from launcher. 1.It is starting from the last activity…
0
votes
1 answer

Other solution (or solutions) for Kill process or end process in android

I spend 1 month searching about this theme. How to kill processes of other apps in android. All solutions that I found not solved my problem: Preclude a user start a app that not is in my list. I…
Felipe Costa
  • 84
  • 1
  • 5
0
votes
1 answer

Kill a certain httpd job

We have a CentOS server that runs our PHP scripts. Sometimes when we start a script from a browser and the browser is closed the job keeps running on the server. Is there a way to kill that particular job ? On the server I can see a bunch of…
PhDJ
  • 173
  • 1
  • 4
  • 15
0
votes
1 answer

Bash script dd and fsck not killed

I need to remove a lv which is under use from a script which is doing a dd, fcsk and some more tasks on some peer node.so am just killing the script and trying to remove the lv from that peer, but it seems not working with error open lvs. but for…
subrat
  • 73
  • 2
  • 7
0
votes
1 answer

Inno- Check if a process is running and show a message box if its running and... do some other things

Here is my Inno Setup script: ;InnoSetupVersion=5.5.0 ;Script made in Inno Setup Ultra v5.5.1.ee2 [Setup] AppName=Adobe Flash Player 15 + Shockwave Player 12 + Adobe Air 15 - AiO AppVersion=15.12.15 AppPublisher=Adobe Systems,…
the_Ma5TeR
  • 302
  • 3
  • 11
0
votes
0 answers

linux kill command - how it works?

My question is a bit theoretical. Lets say I have a process with PID 10, in order to terminate it I can use both exit and kill. exit command bring the process to Zombie state and later the process is beeing removed thru the release_task()…
Nadav Peled
  • 951
  • 1
  • 13
  • 19
0
votes
2 answers

Java process when terminated abnormally with Kill or pkill unix comamnds doesnot delete temporary files

When a tool developed in Java is launched, it creates temporary files in a folder. If terminated properly those files are getting deleted , but if terminated with kill or pkill commands those files are not getting deleted. Is there any way to send a…
0
votes
2 answers

activity manager clear all recent and kill process in background?

activity manager clear all recent and kill process in background? -Can system destroy only one or some of my activities to recover memory? -Will system kill the whole process of my application? Will all activities be nicely destroyed? i'll use code…
Quang Long
  • 31
  • 3
0
votes
2 answers

How to create a unkillable process with no-root privilege?

I am trying to create a process which can't be killed even by "kill -9", which can be useful in attack-defense mode CTF, I tried this https://unix.stackexchange.com/questions/134888/simulate-an-unkillable-process-in-d-state but it seems fixed in…
tester017
  • 11
  • 2
0
votes
2 answers

why i kill an application in android system,but it restart again

I need to kill an application when i receive a key event in phonewindowmanager.java try { ActivityManagerNative.getDefault().killApplicationProcess("com.konka.fakestandby", 1000); } catch (RemoteException e) {} but it restart…
0
votes
1 answer

How can I reference ProcessInfo's members and ProcessCE in my Windows CE util?

I found this code from CathalMF here: ProcessInfo[] list = ProcessCE.GetProcesses(); foreach (ProcessInfo pinfo in list) { if (pinfo.FullPath.EndsWith("MyExe.exe")) pinfo.Kill(); } ...and modified it to my ends (no pun intended) like…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
0
votes
1 answer

linux bash script kill process and start it again after kill

Im running several chrome browsers on my computer with different profiles. Profiles are named like "prof1" "prof2" and "prof3". Now I need to make a script which kills specific chrome process and restarts it again. I cannot use killall command cause…
user3647376
  • 91
  • 2
  • 12
0
votes
3 answers

Killing previous instances at first time,if running

Following is my script 'Infinite.sh' code, I am running this script in background,Before running this script, i want to kill all previous instances. But this is killing my curent instance also. kill -9 `ps ux|grep Infinite.sh|awk -F\ '{print…
user752590
  • 111
  • 5
  • 12
  • 29
0
votes
1 answer

What is cleared when a user kills an app (android)?

When a user manually kills an app, what data is cleared? I have a bit of functionality that only properly clears the data on app kill and reopen, so clearly the system is clearing some data that I am missing. Basically, I want to know what sort of…