You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Ubuntu Linux release, mawk is used by default. This issue caused
killsnoop can't work on Ubuntu by default.
There are two issues,
a. The strtonum is not supported by mawk.
Try to use int to convert string to number.
For gawk, int usage need the --non-decimal-data option.
On very old RHEL release(2.6.18 kernel), the gawk can support
this option.
b. killsnoop still has no results due to mawk buffering porblems.
Using -W interactive could solve this isue.
The option is available on mawk 1.2, RHEL 4+ should support it.
Signed-off-by: Oliver Yang <[email protected]>
0 commit comments