The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
50 views

get PIDs of processes from

I have a path to an executable. Assume I want to delete this file. I need to find all processes launched using this file and kill them. What is the best way to do it?
0
votes
1answer
54 views

Kill process that hogs all CPU

So ImageMagick has the "convert" command which I use for my (Linux) web platform to deal with image resizing and such. Sometimes this command gets "stuck", meaning it starts eating machine resources ...
4
votes
2answers
102 views

Remove a zombie process from the process table

I've got an annoying zombie process that gets adopted by init, and it won't go away. I've read there is a way to create a dummy process, attach the zombie as a child of that new process and then kill ...
0
votes
1answer
22 views

view/kill a Windows O/S processes from Ubuntu Server

Is there a Ubuntu version of Sysinternals Process Utilities, which allows Window users to view/control remote processes? I already know I can setup cygwin on Windows and use ssh to remote in. All I'm ...
0
votes
1answer
109 views

How i can kill/terminate process in Cisco ios on router 7301

How i can kill/terminate process in Cisco ios on router 7301? One process utilizes a router 100 percent. This process is in no way related to the configuration of the router. Or should prohibit the ...
0
votes
2answers
32 views

Privilege user killing user processes

can we do the following on *NIX. Create following folder structure. /<parent folder>/<child folder 1> /<parent folder>/<child folder 2> /<parent folder>/<child ...
0
votes
1answer
41 views

How to know which user killed a process

Is there a way in linux to find out which user or which process killed another process? Maybe a log? I searched through /var/log and specifically on auth.log.* but I didn't find anything ...
0
votes
2answers
48 views

What signal is sent to running process after network fail?

I am trying to reproduce a situation where a process fails due to a network outage. I was hoping to reproduce this signal with a kill command. A normal kill command is not working. I have taken a look ...
1
vote
1answer
998 views

How do I know if the Linux server killed my process and which process it killed?

It seems my server killed a process due to it using too much RAM. Is this possible? If it can happen, how can I know when and what process it killed?
0
votes
0answers
31 views

Check if process won't respond to kill -9

I have an Ubuntu Apache server with some very weird problems, and as an intermediate solution, I need to write a script that kills off worker processes. The problem is that a worker process ...
0
votes
3answers
113 views

Why “jobs -p | kill -n 15” doesn't work?

I'm very new to Linux. And as a matter of fact I use Cygwin now and not Linux itself. I'm trying to install RVM (Ruby Version Manager). I was doing rm -r ./.rvm -i command. I wanted to remove .rvm ...
1
vote
1answer
86 views

I just installed a profiler into Tomcat 7 and now I'm getting BindException on shutdown

So the HOWTO I just read says to add these JAVA_OPTS to the startup script: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=[place port number here] ...
1
vote
3answers
121 views

kill script execution

I have a script that I have to run with certain frequency. This script executes a number of programs, in a loop, setting some variables in each loop. Since this script runs for hours, I run it using ...
1
vote
2answers
331 views

kill -HUP is not working with celery daemon

So I have a shell script that daemonizes celery, and creates a bunch of workers running as a daemon. I would like to have a way to restart the celery task when the underlying source gets changed since ...
-3
votes
3answers
3k views

How to safely kick out other users logged in as root?

I tried this: pkill -KILL -u root It turns out that wasn't what I wanted. Now I can't log in by SSH. What is the correct way? Edit - I've added the word "safely" to the question. I know that you ...
8
votes
3answers
851 views

What effect does it have on a server when you kill all root processes?

There were other devs logged in as root that I wanted to kick out. So I issued pkill -KILL -u root Then I realized that I probably killed all kinds of root processes. Have I damaged my system? I ...
3
votes
3answers
404 views

How to kill a process in Linux if kill -9 has no effect

I imagine that kill -9 still just sends a signal to a process. If the process is not behaving well, I would imagine that kill -9 would have no effect. Indeed, today for the first time I saw kill -9 ...
1
vote
3answers
363 views

linux/solaris kill many proccess with one command

Is it possible to kill all find process with one command? I do not want to kill each process as kill -9 25295 , kill -9 11994 , etc.. Rather, what I want is a simple way or command that kill all find ...
1
vote
0answers
113 views

ps and top show a different command name then what pkill and pgrep sees

Often times I want to kill process that I believe has changed its command name (I think through setproctitle() or something similar). Apparent pkill, pgrep, and friends do not read the new command ...
2
votes
1answer
236 views

When I kill a subprocess created in a bash script - it automatically re-spawns. Why?

I have the following script which I run using the command: ./thescript.sh 2>&1 & and if I kill the sub process spawned by it, after a few seconds it is restarted. Why is this? ...
10
votes
3answers
2k views

kill -9 a postgres process

A postgres SELECT query ran out of control on our DB server and started eating up tons of memory and swap until the server ran out of memory. I found the particular process via ps aux | grep postgres ...
2
votes
1answer
302 views

MySQL: nothing listening on port 3306 but the processes still exist. How to graceful shutdown?

Percona-XtraDB-Cluster-server-5.5.24-23.6.340.rhel5 This is a slave server. mysqladmin shutdown hangs at: [Note] Event Scheduler: Purging the queue. 24 events [Note] Slave I/O thread killed while ...
6
votes
4answers
589 views

Kill process by command name

I would like to kill a java process based on the command name... Whats the best way to do it? (i.e. when you do ps -f the name in the CMD column).
2
votes
1answer
195 views

timeout duration on linux

I'm trying to run a command for 5 hours and 10 minuts. I found out how to run it for 5 hours but I'm unable to run it for 5 hours and 10 minuts.. timeout -sKILL 5h mplayer -dumpstream ...
4
votes
2answers
2k views

How to kill ostensibly immortal process?

I had some huge file transfers operating on an NFS mount. The server on which the mount point resided was carelessly rebooted, and now the server from which these large transfers were initiated seems ...
0
votes
2answers
102 views

What's the difference between ps processname* | kill and kill -p processname* in powershell?

In powershell, is there a difference between: ps theProcessName* | kill and kill -processname theProcessName* Thanks
0
votes
1answer
273 views

Why kill makes a bash script exit

after the kill statement the script prints "Terminated" and the following lines never get executed: #!/bin/bash kill -9 `ps -ef | grep MailSender | grep -v grep | awk '{print $2}'` echo starting ...
1
vote
3answers
369 views

Kill all program.exe instances open on network share from Windows

How do I kill all program.exe instances that are currently open through a Windows network share? I know how to list the open files net files | Findstr "program.exe" but how then how do I kill it? In ...
2
votes
3answers
478 views

Kill a process and force it to return 0 in Linux?

In the Linux environment, how can I send a kill signal to a process, while making sure that the exit code returned from that process is 0? Would I have to do some fancy GDB magic for this, or is there ...
0
votes
1answer
116 views

Kill xfs_io processes

I have an EC2 instance running CentOS 5.6 86_64. I use xfs_freeze to freeze/thaw a file system before taking a snapshot. Normally this works great, but today it stopped working - the freeze operation ...
3
votes
1answer
231 views

Kill process group not working

I'm on Debian GNU/Linux. The man page for "kill" says I can use negative PID value to kill process group, but when running on command line, it does not work: $ /bin/kill -9 -21581 /bin/kill: invalid ...
2
votes
1answer
3k views

What is oom-kiler and why is it happening ? Should I avoid it?

I have a server that is now having "invoked oom-killer" many times a day ! I never saw that and even after reading tons of forums on Internet I'm still puzzled : is it a big problem ? Why is it ...
-1
votes
1answer
137 views

Killall waiting for response

when I do a killall java there is no response...However the next time I press enter I get a response. Is this normal? Its ruining my cron job as it doesnt mail the killall output. Using Centos 6.
-4
votes
1answer
36 views

How can I know which are my rights [closed]

On a fedora server, I have access to the cli. On that server I have a webapp which generates some pdf files using a php library through some ajax request. The problem is that one of the apache ...
1
vote
0answers
305 views

node.js process won't die on unhandled exception

Running the following server.js: cluster(app) .use(cluster.logger(path_to_logs)) .use(cluster.stats()) .use(cluster.pidfiles(path_to_pids)) .use(cluster.cli()) ...
2
votes
4answers
1k views

UNIX permissions to allow group users to kill each others' processes

Let's say we have a group (dev) which has many users and a shared development directory with g+rwx permissions on all contained files. Is this setup sufficient so that any dev user can kill a process ...
1
vote
2answers
474 views

terminate a processed launched by nohup

I have loaded debian etch into my NAS and I am trying to use it to routinely extract information from a website. Since there are quite a lot of pages to download, I used the nohup command, like this: ...
0
votes
2answers
52 views

How do I find current root logins

How can I identify all terminals that have a root login on them on Linux? who -a seems to give me regular logins but what about root?
3
votes
1answer
2k views

Cant kill process on Windows Server 2008!! - Thread in Wait:Executive State

I hope someone can help me with our issue we are having. We have a major issue with a process that we can not kill and the only way to get rid of the process is to reboot the machine. I have tried ...
0
votes
1answer
450 views

Kill Process Running PHP Script on Linux

How do I kill the process running php scripts on a linux box? I'm using Debian with php5. Sometimes during development a php script will continue to interact with a 3rd party webserver even after ...
0
votes
1answer
511 views

Close a process without psKill and force?

I have a bunch of processes on a server that I want to update the exes regurlary. But before update they must be closed and I use PsKill for that in a bat-file. It works but I seek a way to only send ...
3
votes
3answers
428 views

How do I kill a runaway cronjob

I have a cronjob that is set to run constantly. It's a php file that streams data from twitter. However twitter goes down every once a while or we lose connection so I have cron checking back every ...
3
votes
3answers
791 views

When will kill PID fail?

I'm trying to kill 31216 31617,but after 10 times,that process still survives. Why? Is there a way to force it dead? root 31216 1 0 10:49 ? 00:00:00 nginx: master process ...
0
votes
1answer
2k views

how to kill a zombie process?

I got a two processes during the network drive failure. 1 D 0 1199 1 0 80 0 - 19101 wait_o pts/21 00:00:01 rsync 1 Z 0 1226 1199 0 80 0 - 0 exit pts/21 00:00:00 rsync ...
2
votes
1answer
2k views

VPS yum update filesystem … killed

I've got a HostGator level 1 VPS - basically, a CentOS 5. I've got full root access to run whatever I want. Anyhow, during a recent maintenance check, I run yum -y update, but after the usual kinds ...
1
vote
1answer
118 views

What can be used to prevent the termination/killing of a process, even by the root user?

Is there a security framework or general tool that can be used to ensure that a certain process started at boot in Linux cannot be terminated by any user or other process, including the root user?
0
votes
2answers
970 views

Process that sent SIGKILL

I have a series of scripts that are being killed ($? says exit code is 137, which implies a kill -9 scenario). I need to know what process killed them. Is there a way to find out this information?
0
votes
1answer
2k views

With Powershell, how can I get the id of a process owned by a specific user?

Using Powershell, I want to do the equivalent of Unix ps -auxc | grep Emacs kill -9 364 (Assuming 365 was the pid the first command told me.) How do I do that? I find it incredibly hard to get ...
4
votes
7answers
2k views

I have a perl script that is supposed to run indefinitely. It's being killed… how do I determine who or what kills it?

I run the perl script in screen (I can log in and check debug output). Nothing in the logic of the script should be capable of killing it quite this dead. I'm one of only two people with access to ...
0
votes
2answers
551 views

Phantom process killing

I have a java application running on a CentOS 5.4 server. Randomly, and seemingly without cause, these processes will die, not through the application exiting, or due to my killing it, but due to ...