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.
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.
A killall
, by default, is a polite request for the process to shut down. It may take its time, it may ignore it, it may fail to do it. A common pattern is to send a regular killall
, wait a few seconds to see if the process has terminated, send another if not, wait a few more seconds, and then switch to more aggressive termination methods if needed.