Re: Netscape? how to kill?
On Tuesday 29 May 2001 06:57 pm, Steve Kieu wrote:
> mtest=`ps -A | grep "navigator-smoti"`
> if [ "$mtest" ] ; then
> killall -9 navigator-smoti #It says no process killed
> here
> fi
Hi Steve,
I haven't run Netscape in quite a while, so I can't test the process tree
myself, but you probably have a parent process somewhere that you can kill
that's not named 'navigator-smoti'. Do a 'ps -A' and look for another
navigator process with a lower pID. Also, the 'pstree' command, if installed,
will show you the processes in tree form and you can track down the parents
much more easily.
As a sidenote, don't start off 'kill -9' ing it. I forget the golden order
of kills, but you should try HUP (1), INT (2), and I think TERM (15) before
KILL (9). There's a whole thread as to why from about a week or two ago on
the subject here in debian-user if you want to look in the archives for it.
Reply to: