Date: Sun, 14 Sep 2008 00:28:20 -0700 From: "Richard Yang" <kusanagiyang@gmail.com> To: "Yury Michurin" <yury.michurin@gmail.com> Cc: questions@freebsd.org Subject: Re: problem killing a process with its pid Message-ID: <abd417bf0809140028jeba7c76k2c836679987045d@mail.gmail.com> In-Reply-To: <692c9a9f0809140026t60c7a5e8t82cf2b03044b0d99@mail.gmail.com> References: <abd417bf0809132333g13670fey7e0cfc016157c029@mail.gmail.com> <692c9a9f0809140026t60c7a5e8t82cf2b03044b0d99@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
i just found i am on csh thanks a lot anyway :) 2008/9/14 Yury Michurin <yury.michurin@gmail.com> > Try: > kill -9 `cat /var/run/natd.pid` > > (works for me on tcsh) > > On Sun, Sep 14, 2008 at 9:33 AM, Richard Yang <kusanagiyang@gmail.com>wrote: > >> I have been trying to kill the process by pulling natd.pid >> below are 3 typical examples among a couple dozens I tried >> >> kill -9 $(natd.pid) >> Illegal variable name >> >> kill -9 '/var/run/natd.pid' >> kill: Arguments should be jobs or process id's >> >> cat /var/run/natd.pid | kill -9 >> (no error returned, but natd process is still up) >> >> >> could someone help? >> thanks. >> >> >> -- >> >> Best Regards >> >> Richard Yang >> richardyang@richardyang.net >> kusanagiyang@gmail.com >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > -- Best Regards Richard Yang richardyang@richardyang.net kusanagiyang@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?abd417bf0809140028jeba7c76k2c836679987045d>