Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2008 23:33:28 -0700
From:      "Richard Yang" <kusanagiyang@gmail.com>
To:        questions@freebsd.org
Subject:   problem killing a process with its pid
Message-ID:  <abd417bf0809132333g13670fey7e0cfc016157c029@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?abd417bf0809132333g13670fey7e0cfc016157c029>