资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

服务器性能测试-创新互联

#!/bin/bash

在永年等地区,都构建了全面的区域性战略布局,加强发展的系统性、市场前瞻性、产品创新能力,以专注、极致的服务理念,为客户提供成都网站制作、网站设计、外贸网站建设 网站设计制作按需定制网站,公司网站建设,企业网站建设,品牌网站制作,全网营销推广,外贸网站制作,永年网站建设费用合理。

logfile=/tmp/streelog.log

echo "stress -c 4 -i 4 --verbose --timeout 1m" >> logfile

stress -c 4 -i 4 --verbose --timeout 1m & >> $logfile

sleep 30

top -b -n 1 | head -n 15 >> $logfile

vmstat 2 1 >> $logfile

sleep 20

top -b -n 1 | head -n 15 >> $logfile

vmstat 2 1 >> $logfile

echo "" >> $logfile

/opt/soft/memtester-4.3.0/memtester 1G 1 >> $logfile

echo "" >> $logfile

echo "fio --filename=/tmp/mytest.txt --direct=1 --iodepth 1 --thread --rw=randread --ioengine=psync --bs=4k --size=2G --numjobs=10 --runtime=100 --group_reporting --name=mytest" >> $logfile

fio --filename=/tmp/mytest.txt --direct=1 --iodepth 1 --thread --rw=randread --ioengine=psync --bs=4k --size=2G --numjobs=10 --runtime=100 --group_reporting --name=mytest >> $logfile

echo "fio --filename=/tmp/mytest.txt --direct=1 --iodepth 1 --thread --rw=read --ioengine=psync --bs=4k --size=2G --numjobs=10 --runtime=100 --group_reporting --name=mytest" >>$logfile

fio --filename=/tmp/mytest.txt --direct=1 --iodepth 1 --thread --rw=read --ioengine=psync --bs=4k --size=2G --numjobs=10 --runtime=100 --group_reporting --name=mytest >> $logfile

echo "fio --filename=/tmp/mytest.txt --direct=1 --iodepth 1 --thread --rw=randwrite --ioengine=psync --bs=4k --size=2G --numjobs=10 --runtime=100 --group_reporting --name=mytest" >>$logfile

fio --filename=/tmp/mytest.txt --direct=1 --iodepth 1 --thread --rw=randwrite --ioengine=psync --bs=4k --size=2G --numjobs=10 --runtime=100 --group_reporting --name=mytest >>$logfile

echo "fio --filename=/tmp/mytest.txt --direct=1 --iodepth 1 --thread --rw=write --ioengine=psync --bs=4k --size=2G --numjobs=10 --runtime=100 --group_reporting --name=mytest" >>$logfile

fio --filename=/tmp/mytest.txt --direct=1 --iodepth 1 --thread --rw=write --ioengine=psync --bs=4k --size=2G --numjobs=10 --runtime=100 --group_reporting --name=mytest >>$logfile

echo "fio --filename=/tmp/mytest.txt --direct=1 --iodepth 1 --thread --rw=randrw --rwmixread=70 --ioengine=psync --bs=4k --size=2G --numjobs=10 --runtime=100 --group_reporting --name=mytest --ioscheduler=noop" >>$logfile

fio --filename=/tmp/mytest.txt --direct=1 --iodepth 1 --thread --rw=randrw --rwmixread=70 --ioengine=psync --bs=4k --size=2G --numjobs=10 --runtime=100 --group_reporting --name=mytest --ioscheduler=noop >> $logfile

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


名称栏目:服务器性能测试-创新互联
当前URL:http://cdkjz.cn/article/jcspe.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220