wget http:
tar zxvf ifstat-1.1.tar.gz
cd ifstat-1.1
./configure
make && make install && echo 'ok'
#执行命令
ifstat
du -sh ./*
df -lh
find ./ -type f |xargs grep '[^a-z]eval($_POST'
find ./ -type f |xargs grep '[^a-z]eval[^a-z]'
find ./ -type f |xargs grep 'file_put_contents'
#PHPCMS升级的时候用
chmod -R 777 api phpcms statics phpsso_server/api phpsso_server/phpcms
chmod -R 755 api phpcms statics phpsso_server/api phpsso_server/phpcms
find ./api -type f -exec chmod 644 {} \;
find ./phpcms -type f -exec chmod 644 {} \;
find ./statics -type f -exec chmod 644 {} \;
find ./phpsso_server/api -type f -exec chmod 644 {} \;
find ./phpsso_server/phpcms -type f -exec chmod 644 {} \;