Dr. Werner Fink 2013-09-18 12:29:29 +00:00 committed by Git OBS Bridge
parent b178404e5a
commit 8d7fc7a5fb

View File

@ -14,6 +14,7 @@ BEGIN {
sum=0
allocs=0
frees=0
left=0
}
/^execve/ {
if (FNR == 1) {
@ -38,5 +39,6 @@ BEGIN {
}
}
END {
print script ": " sum " bytes with " allocs " chunks allocated and " frees " chunks freed" > "/dev/fd/3"
left=allocs-freed
print script ": " sum " bytes, " left " left chunks, " allocs " chunks allocated, and " frees " chunks freed" > "/dev/fd/3"
}