Questions tagged [kill]

125 questions
0
votes
3 answers

How to kill all screens that has been up longer then 3 weeks?

Im creating a script that i am executing every night at 03.00 that will kill all screens that has been running longer than 3 weeks. anyone done anything similar that can help? If you got a script or suggestion to a better method please help by…
Darkmage
  • 323
  • 3
  • 12
0
votes
1 answer

Permission denied when using kill as root

I'm starting a java program as a non-privileged user that I sudo'd into, then exit the shell. Being root again I try to kill -9 the java process. This causes a "permission denied" error. Then I sudo again to the owning user. Kill works as…
Dino
  • 3
  • 1
-1
votes
2 answers

Bash script to kill specific process running longer than 5m

Hi I'm looking for a BASH script for CentOS 6.5 that kills a processes by name that's been running longer than 5 minutes. I asked this question before and received a response that doesn't work under CentOS because killall doesn't have --older-than.…
Jonathan
  • 207
  • 5
  • 10
-1
votes
1 answer

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.
DD.
  • 3,114
  • 11
  • 35
  • 50
-3
votes
1 answer

How can I know which are my rights

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 instances is blocked on 99%. I've tried with kill…
dole doug
  • 275
  • 1
  • 5
  • 11
1 2 3
8
9