• 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
    

  • 相关阅读:
    debug 调试Windows service服务调试
    Windows Service 创建 发布
    SQL Server 触发器
    c# core api 配置redis
    Core Api 搭建Swagger
    c# core api 自定义特性
    本地iis配置;,NET系统本地发布发布 通过配置路由器可以实现公网访问
    c# 线程的几种实现方式
    c# Thread.Sleep();
    2019创建 core api 加配置swagger
  • 原文地址:https://www.cnblogs.com/ztguang/p/12644744.html
Copyright © 2020-2023  润新知