Re: How to send a signal to a process ?
- From: "Aaron Gray" <ang.usenet@xxxxxxxxx>
- Date: Thu, 18 Jan 2007 03:17:57 -0000
How do I send a SIGHUP to ProFTPd who's PID is in
'/var/run/run/proftpd.pid'?
$ kill -HUP $(cat /var/run/run/proftpd.pid)
will do the trick.
I was using a RedHat function from /etc/rc.d/init.d/functions called
killproc().
Yours is much neater.
Nice, thanks alot.
Aaron
.
- References:
- How to send a signal to a process ?
- From: Aaron Gray
- Re: How to send a signal to a process ?
- From: Tommy Reynolds
- How to send a signal to a process ?
- Prev by Date: Re: How to send a signal to a process ?
- Next by Date: Re: How to send a signal to a process ?
- Previous by thread: Re: How to send a signal to a process ?
- Next by thread: Re: How to send a signal to a process ?
- Index(es):