10 Mar
2010
10 Mar
'10
6:05 p.m.
On Wed, Mar 10, 2010 at 09:32:15AM -0700, Byron Clark wrote:
if pidof sshd | grep -q $(cat /var/run/sshd.pid); then echo "pid in /var/run/sshd.pid is valid" else echo "invalid pid" fi
Ignore that, it isn't entirely safe. -- Byron Clark