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

How to kill a Play server from a different console?

On the command line, after entering play run, there are a few ways that I have read about stopping the play server: You can press Ctrl+ D You can send a SIGTERM to the process, based off of the RUNNING_PID (in production). In Windows, you can…
rishimaharaj
  • 1,644
  • 2
  • 19
  • 34
0
votes
1 answer

kill instance of another user

A user logged into machine and run my application. without closing the application he just did switch user. The second user logged in and again run my application. In this case, I want to kill the first instance from the second instance without any…
0
votes
1 answer

Kill All Silent Processes in Bash Script

I run a series of silent instances of phantomjs in a script, when the script ends I want to kill them off, all at once. However to make the script look nice and not overload the screens with this message ./runTests.sh: line 74: 26002 Killed…
Charabon
  • 737
  • 2
  • 11
  • 23
0
votes
2 answers

How does one terminate(or kill) a Hadoop job in Java?

Suppose we have a MapReduce job and we would like termination/killing of the job to be baked into our Java MapReduce-- say after a specific range of time, how do i go about doing that? for instance, kill the job after a specified period of time
Don U
  • 47
  • 1
  • 10
0
votes
0 answers

Trying to a abort a console job running cakephp 2, using a kill command

I am having trouble being able to kill a job running in cakePHP, using the kill command. I have a list of processes shown in a table in the index view of my Jobs Controller, with a link for each process that is running, that you can click to kill…
user1296259
  • 521
  • 1
  • 13
  • 33
0
votes
1 answer

Determine and kill the process under my application is running

This might sound odd, but I need to find a solution to kill the process my tool is running under from the code. I can kill all the processes having the name: foreach (Process process in Process.GetProcessesByName("name_of_my_tool")) { …
fishmong3r
  • 1,414
  • 4
  • 24
  • 51
0
votes
1 answer

Android app that kills background services

Can an Android app kill background services (notifications, services by other apps etc.) to guarantee resources for the app? I know that Advanced task killer does this. How does it do that and what are the limitations? If its not possible can OEM…
Randroid
  • 3,688
  • 5
  • 30
  • 55
0
votes
2 answers

How to kill a hung windows ftp service in Windows 7

When I try to stop the Microsoft FTP Service using the net stop ftpsvc command in a Windows 7 32bit (IIS 7.5) machine it just says stopping and ....... and hangs. It remains there indefinitely, I can't stop or start it. When I look at the processes…
rboy
  • 2,018
  • 1
  • 23
  • 35
0
votes
1 answer

unix daemon stops for unknown reason without coredump

I'm trying to find a bug in a linux-daemon written in C. The daemon is supposed to run in an endless loop answering requests. Once in a while it just stops for no apparent reason. No coredump is created. No kernel-segfault message is written to…
0
votes
1 answer

Stop OS from killing my Process

I have an application in which I am calling ACTION_SEND intent from my main activity. Everything works fine but when I return to my main activity from ACTION_SEND intent then main activity starts its execution from onCreate() method but I want it to…
Vikalp
  • 2,051
  • 4
  • 18
  • 24
0
votes
1 answer

Kill application not Process - VB

I have a program that out of my control will bring up a message box (I didn't write or have source code) I am trying to find out if it is possible to write a program (visual studio) that can at a set time, say every 10 minutes close all open…
Pojsta
  • 1
0
votes
1 answer

How to get the event when an app is killed?

I want to try getting the event whenever my app is killed or closed by any reason or manually or by native android devices kill. Please help me and thanks in advance. i directly remove from stack then onDestroy() will not call. if any reason…
Bhanu Sharma
  • 5,135
  • 2
  • 24
  • 49
0
votes
1 answer

Start and Stop an external app from my own app in Android

My app starts others apps (upon user request) using this simple code: Intent LaunchApp = getPackageManager().getLaunchIntentForPackage("the.external.app.package"); startActivity( LaunchApp ); Is there a way to finish or close that…
Ton
  • 9,235
  • 15
  • 59
  • 103
0
votes
1 answer

Fail to kill process on android

I am developing a tiny app, it might contains several activities, and in MainActivity, there's a button aims to kill the whole process, here's what I do in the…
cshushu
  • 89
  • 1
  • 11
0
votes
4 answers

How to kill application completely regardless thread

My application on startup may start a few thread concurrently. Now based on some condition I would like to completely kill off all the thread regardless the state of other threads. I have tried App.Current.ShutDown() as well as…
SuicideSheep
  • 5,260
  • 19
  • 64
  • 117