zoukankan      html  css  js  c++  java
  • FEP: 测试 lineage, 获得 CPU, MEMORY 统计信息

    #----------------------------------------------------------------------------------------
    测试 lineage, 获得 CPU, MEMORY 统计信息
    #----------------------------------------------------------------------------------------
    ### number of lineages: 1
    # (in Host)
    cd /mnt/vm_img/fep-irp-nougat/
    ./stats-cpu-memory.sh > log-stats-cpu-memory-lineage-1.txt
    
    #-- log_lineage_1.txt 记录 ./fep-irp-auto-run-vbox-and-docker.sh create, destroy 的时间点
    /bin/rm log_lineage_1.txt
    echo "==================================" >> log_lineage_1.txt
    date +%H:%M:%S >> log_lineage_1.txt
    echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_1.txt
    echo "==================================" >> log_lineage_1.txt
    ./fep-irp-auto-run-vbox-and-docker.sh create 0 1 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat
    
    echo "==================================" >> log_lineage_1.txt
    date +%H:%M:%S >> log_lineage_1.txt
    echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_1.txt
    echo "==================================" >> log_lineage_1.txt
    ./fep-irp-auto-run-vbox-and-docker.sh destroy 0 1 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat
    #---------------------------------------------------------
    ### number of lineages: 2
    # (in Host)
    cd /mnt/vm_img/fep-irp-nougat/
    ./stats-cpu-memory.sh > log-stats-cpu-memory-lineage-2.txt
    
    #-- log_lineage_2.txt 记录 ./fep-irp-auto-run-vbox-and-docker.sh create, destroy 的时间点
    /bin/rm log_lineage_2.txt
    echo "==================================" >> log_lineage_2.txt
    date +%H:%M:%S >> log_lineage_2.txt
    echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_2.txt
    echo "==================================" >> log_lineage_2.txt
    ./fep-irp-auto-run-vbox-and-docker.sh create 0 2 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat
    
    echo "==================================" >> log_lineage_2.txt
    date +%H:%M:%S >> log_lineage_2.txt
    echo "./fep-irp-auto-run-vbox-and-docker.sh create" >> log_lineage_2.txt
    echo "==================================" >> log_lineage_2.txt
    ./fep-irp-auto-run-vbox-and-docker.sh destroy 0 2 centos-fep-irp lineage-irp- /mnt/vm_img/fep-irp-nougat
    #---------------------------------------------------------
    ### 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
    #----------------------------------------------------------------------------------------
    

  • 相关阅读:
    python环境准备(2020-1-13)
    git知识
    toolbar的相关知识
    Android开发极光推送功能实现步骤
    Android开发分享功能实现步骤
    使用tablayout和viewpager实现简单的页面布局
    activity与fragment的交互(一个activity跳转到另一个fragment)
    java中堆区和栈区的区别
    WebView的基本使用
    final的用法
  • 原文地址:https://www.cnblogs.com/ztguang/p/12644765.html
Copyright © 2011-2022 走看看