Skip to content

cpu-hog-exec default CHAOS_KILL_COMMAND command doesn't seem to work #647

@Calvinaud

Description

@Calvinaud

Hello,

In the faults configuration for the cpu hog experiments, the following command is used:
kill $(find /proc -name exe -lname '*/md5sum' 2>&1 | grep -v 'Permission denied' | awk -F/ '{print $(NF-1)}') from https://github.com/litmuschaos/chaos-charts/blob/master/faults/kubernetes/pod-cpu-hog-exec/fault.yaml#L96

This command doesn't seem to work as there is no flag lname in the find command.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions