Pass a signal to the kill command: # kill -9 1484
or # killall -9 tar Signal 9 is SIGKILL which cannot be caught by a process and therefore will end a process with no (or few) questions asked. # kill -QUIT 1484 will send the SIGQUIT signal to process 1484. If SIGQUIT is caught and handled properly by the code of the program, then the process should exit out nicely. Certain programs handle certain signals better than others. # killall -12 netscape for instance, will axe all instances of netscape when it hangs. -12 is one of the user defined signals that NS uses to save it's stuff and quit out nicely. 'man kill' for more info :) -Statux On Fri, 24 May 2002, Jianping Zhu wrote: > When I try to stop a process of backing up a files to tape drive by using > tar i always fails. > For example: > i use ps -aux . I got following process . > root 1484 0.1 0.0 1788 612 tty1 D 17:07 0:01 tar xvzf /dev/sto /home > > when i tried to kill it by using kill 1484, but the process can not be > killed, I have to restart my redhat linux 7.1 sever. > It gives me too much trouble. > > Any suggestion will be greatly appreciated. > > Jianping Zhu > > > -------------------------------- > Jianping Zhu > Department of Computer Science > Univerity of Georgia > Athens, GA 30602 > Tel 706 5423900 > -------------------------------- > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > -- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list