Simple Linux Panel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mdserver-web/plugins/op_waf/t/test.sh

23 lines
548 B

3 years ago
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
3 years ago
# apt -y install apache2-utils
# yum -y install httpd-tools
3 years ago
3 years ago
# ab -c 3000 -n 10000000 http://www.zzzvps.com/
3 years ago
# /cc https://www.zzzvps.com/ 120
3 years ago
# ab -c 10 -n 1000 http://t1.cn/wp-admin/index.php
3 years ago
# ab -c 1000 -n 1000000 http://dev156.cachecha.com/
3 years ago
3 years ago
curPath=`pwd`
rootPath=$(dirname "$curPath")
rootPath=$(dirname "$rootPath")
rootPath=$(dirname "$rootPath")
if [ -f ${rootPath}/bin/activate ];then
source ${rootPath}/bin/activate
fi
3 years ago
python3 index.py