.
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
|
sum=0
|
||||||
allocs=0
|
allocs=0
|
||||||
frees=0
|
frees=0
|
||||||
|
left=0
|
||||||
}
|
}
|
||||||
/^execve/ {
|
/^execve/ {
|
||||||
if (FNR == 1) {
|
if (FNR == 1) {
|
||||||
@ -38,5 +39,6 @@ BEGIN {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
END {
|
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…
x
Reference in New Issue
Block a user