.
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=165
This commit is contained in:
parent
b178404e5a
commit
8d7fc7a5fb
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user