【问题标题】:How to check Memory and CPU usage of AWS Batch job如何检查 AWS Batch 作业的内存和 CPU 使用率
【发布时间】:2019-07-22 05:29:20
【问题描述】:

在创建批处理作业时,我们可以在容器属性中提供vCPU内存

在cloudwatch中,我们可以在弹性容器服务下查看每个集群的内存和CPU使用率。

有没有办法检查每个作业的内存和 CPU 使用情况?

【问题讨论】:

    标签: amazon-web-services aws-batch amazon-cloudwatch


    【解决方案1】:

    现在似乎没有什么是生产级的(2019 年 8 月)

    但是,这里有一些提示:

    • 使用 gmond / ganglia 实现您自己的解决方案
    • 使用 AWS containerInsights(通过下面的 cmd 为您的帐户启用它)

    aws ecs put-account-setting-default --name "containerInsights" --value "enabled"

    【讨论】:

    • containerInsights 是否为您工作? documentation page 表示“目前,AWS Batch 不支持 Container Insights。”
    猜你喜欢
    • 2018-09-20
    • 1970-01-01
    • 1970-01-01
    • 2019-12-26
    • 2010-09-09
    • 2014-05-07
    • 2011-09-11
    • 2022-07-26
    • 2010-11-16
    相关资源
    最近更新 更多