查看rsync服务是否启动有两种方法
//第一种
ps -ef | grep rsync
root 1483 1 0 14:11 ? 00:00:00 /usr/bin/rsync --daemon
root 1487 1304 0 14:12 pts/0 00:00:00 grep --color=auto rsync
//第二种
netstat -anltp | grep 873
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 1483/rsync
tcp6 0 0 :::873 :::* LISTEN 1483/rsync
启动rsync服务
/usr/bin/rsync --daemon