###---------------------------------------------------------------------------------------- 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
FEP: 测试 lineage, 获得 CPU, MEMORY 统计信息
最新推荐文章于 2019-08-30 15:02:00 发布