Skip to content

Commit

Permalink
Merge pull request AFLplusplus#1863 from AFLplusplus/dev
Browse files Browse the repository at this point in the history
afl-whatsup output fix
  • Loading branch information
vanhauser-thc authored Sep 13, 2023
2 parents b28b588 + 748d417 commit dee7699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions afl-whatsup
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ for j in `find . -maxdepth 2 -iname fuzzer_setup | sort`; do

if [ -z "$MINIMAL_ONLY" ]; then

CPU_USAGE=$(ps aux | grep $fuzzer_pid | grep -v grep | awk '{print $3}')
MEM_USAGE=$(ps aux | grep $fuzzer_pid | grep -v grep | awk '{print $4}')
CPU_USAGE=$(ps aux | grep -w $fuzzer_pid | grep -v grep | awk '{print $3}')
MEM_USAGE=$(ps aux | grep -w $fuzzer_pid | grep -v grep | awk '{print $4}')

echo " cpu usage $CPU_USAGE%, memory usage $MEM_USAGE%"

Expand Down

0 comments on commit dee7699

Please sign in to comment.