Lines Matching refs:RHOST
26 # SETUP: The home directory of root on the machine exported as "RHOST"
54 RHOST=${RHOST:=`hostname`}
74 echo "Checking for rstatd on $RHOST"
76 rpcinfo -u $RHOST rstatd 3 > /dev/null 2>&1
78 echo "Attempting to start rstatd on $RHOST"
79 rsh -n -l root $RHOST "/usr/sbin/rpc.rstatd &"
80 [ $? -eq 0 ] || end_testcase "rstatd is inactive on $RHOST"
81 PID=`rsh -n $RHOST ps -ewf | grep rstatd | awk '{print $2 }'`
82 echo "rstatd started on $RHOST"
96 echo "rup $RHOST"
97 rup $RHOST | grep $RHOST
98 [ $? -eq 0 ] || end_testcase "rup $RHOST - failed"
141 rsh -n $RHOST kill -15 $PID
142 echo "rstatd daemon stopped on $RHOST"