Posts: 2
	Threads: 2
	Joined: Sep 2008
	
Reputation: 
0
	 
	
	
		Does Pkill just end the service.. or does it actually restart it as well? I have used the command in this way Pkill -9 java to restart java... but what happens if I do not append java with the -9? I'm working on a live phoneswitch running Redhat and figured asking would be better than just doing to find out. Thanks a lot.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 3,631
	Threads: 899
	Joined: Dec 2003
	
Reputation: 
0
	 
	
	
		
pkill kills a process
 
the process you killed probably has a daemon which restarts itself once stopped *or killled*
 
cheers
anywe
	
	
	
	
	
 
 
	
	
	
		
	Posts: 995
	Threads: 128
	Joined: Jul 2005
	
Reputation: 
0
	 
	
	
		So pkill itself isn't doing the restarting, the daemon is probably bringing the process back up once it detects that it is not running.