This is a discussion on Re: ntpd diff -- /var/run/ntpd.pid within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Stuart Henderson wrote: > > Please use pkill and pgrep instead, which will give you up-to-date > > information. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Stuart Henderson wrote: > > Please use pkill and pgrep instead, which will give you up-to-date > > information. > > ...but beware, you might want to "pgrep -l $FOO" before you > "pkill $FOO", particularly where FOO=ssh... pkill -HUP -f /usr/sbin/sshd # Han |