FEP: 测试 lineage, 获得 CPU, MEMORY 统计信息

###---------------------------------------------------------------------------------------- begin
#
# 测试 lineage, 获得 CPU, MEMORY 统计信息
#
###----------------------------------------------------------------------------------------

###---------------------------------------------------------
#
# number of lineages: 3
#
###---------------------------------------------------------
# (in Host)
cd /mnt/vm_img/fep-irp-nougat/
./stats-cpu-memory.sh > log-stats-cpu-memory-lineage-3.txt

#-- log_lineage_3.txt 记录 ./fep-irp-auto-run-vbox-and-docker.sh create, destroy 的时间点
/bin/rm log_lineage_3.txt
echo "==================================" >> log_lineage_3.txt
date +%H:%M:%S >> log_lineage_3.txt
echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_3.txt
echo "==================================" >> log_lineage_3.txt
./fep-irp-auto-run-vbox-and-docker.sh create 0 3 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat

echo "==================================" >> log_lineage_3.txt
date +%H:%M:%S >> log_lineage_3.txt
echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_3.txt
echo "==================================" >> log_lineage_3.txt
./fep-irp-auto-run-vbox-and-docker.sh destroy 0 3 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat
###---------------------------------------------------------


###---------------------------------------------------------
#
# number of lineages: 4
#
###---------------------------------------------------------
# (in Host)
cd /mnt/vm_img/fep-irp-nougat/
./stats-cpu-memory.sh > log-stats-cpu-memory-lineage-4.txt

#-- log_lineage_4.txt 记录 ./fep-irp-auto-run-vbox-and-docker.sh create, destroy 的时间点
/bin/rm log_lineage_4.txt
echo "==================================" >> log_lineage_4.txt
date +%H:%M:%S >> log_lineage_4.txt
echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_4.txt
echo "==================================" >> log_lineage_4.txt
./fep-irp-auto-run-vbox-and-docker.sh create 0 4 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat

echo "==================================" >> log_lineage_4.txt
date +%H:%M:%S >> log_lineage_4.txt
echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_4.txt
echo "==================================" >> log_lineage_4.txt
./fep-irp-auto-run-vbox-and-docker.sh destroy 0 4 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat
###---------------------------------------------------------


###---------------------------------------------------------
#
# number of lineages: 5
#
###---------------------------------------------------------
# (in Host)
cd /mnt/vm_img/fep-irp-nougat/
./stats-cpu-memory.sh > log-stats-cpu-memory-lineage-5.txt

#-- log_lineage_5.txt 记录 ./fep-irp-auto-run-vbox-and-docker.sh create, destroy 的时间点
/bin/rm log_lineage_5.txt
echo "==================================" >> log_lineage_5.txt
date +%H:%M:%S >> log_lineage_5.txt
echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_5.txt
echo "==================================" >> log_lineage_5.txt
./fep-irp-auto-run-vbox-and-docker.sh create 0 5 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat

echo "==================================" >> log_lineage_5.txt
date +%H:%M:%S >> log_lineage_5.txt
echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_5.txt
echo "==================================" >> log_lineage_5.txt
./fep-irp-auto-run-vbox-and-docker.sh destroy 0 5 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat
###---------------------------------------------------------


###---------------------------------------------------------
#
# number of lineages: 6
#
###---------------------------------------------------------
# (in Host)
cd /mnt/vm_img/fep-irp-nougat/
./stats-cpu-memory.sh > log-stats-cpu-memory-lineage-6.txt

#-- log_lineage_6.txt 记录 ./fep-irp-auto-run-vbox-and-docker.sh create, destroy 的时间点
/bin/rm log_lineage_6.txt
echo "==================================" >> log_lineage_6.txt
date +%H:%M:%S >> log_lineage_6.txt
echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_6.txt
echo "==================================" >> log_lineage_6.txt
./fep-irp-auto-run-vbox-and-docker.sh create 0 6 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat

echo "==================================" >> log_lineage_6.txt
date +%H:%M:%S >> log_lineage_6.txt
echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_6.txt
echo "==================================" >> log_lineage_6.txt
./fep-irp-auto-run-vbox-and-docker.sh destroy 0 6 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat
###---------------------------------------------------------


###---------------------------------------------------------
#
# number of lineages: 7
#
###---------------------------------------------------------
# (in Host)
cd /mnt/vm_img/fep-irp-nougat/
./stats-cpu-memory.sh > log-stats-cpu-memory-lineage-7.txt

#-- log_lineage_7.txt 记录 ./fep-irp-auto-run-vbox-and-docker.sh create, destroy 的时间点
/bin/rm log_lineage_7.txt
echo "==================================" >> log_lineage_7.txt
date +%H:%M:%S >> log_lineage_7.txt
echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_7.txt
echo "==================================" >> log_lineage_7.txt
./fep-irp-auto-run-vbox-and-docker.sh create 0 7 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat

echo "==================================" >> log_lineage_7.txt
date +%H:%M:%S >> log_lineage_7.txt
echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_7.txt
echo "==================================" >> log_lineage_7.txt
./fep-irp-auto-run-vbox-and-docker.sh destroy 0 7 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat
###---------------------------------------------------------

###---------------------------------------------------------------------------------------- end

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值