shell 脚本
#!/bin/bash
a=`netstat -unltp|grep fdfs|wc -l`
echo "$a"
if [ "$a" -ne "1" ];then
`fdfs_storaged /etc/fdfs/storage.conf start`
fi
#!/bin/bash
a=`netstat -unltp|grshell 脚本
#!/bin/bash
a=`netstat -unltp|grep fdfs|wc -l`
echo "$a"
if [ "$a" -ne "1" ];then
`fdfs_storaged /etc/fdfs/storage.conf start`
fi
#!/bin/bash
a=`netstat -unltp|gr