Skip to content

Commit

Permalink
remove extraneous escape characters for cpu hog experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
alininja committed Apr 25, 2024
1 parent 629e7ea commit d76d9a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ spec:
- name: CHAOS_INJECT_COMMAND
value: 'md5sum /dev/zero'
# command to kill the md5sum process
# alternative command: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')"
# alternative command: "kill -9 $(ps afx | grep "[md5sum] /dev/zero" | awk '{print $1}' | tr '\n' ' ')"
- name: CHAOS_KILL_COMMAND
value: "kill $(find /proc -name exe -lname '*/md5sum' 2>&1 | grep -v 'Permission denied' | awk -F/ '{print $(NF-1)}')"
- name: TOTAL_CHAOS_DURATION
Expand Down

0 comments on commit d76d9a7

Please sign in to comment.