diff options
-rwxr-xr-x | top-nfscalls.stp | 5 | ||||
-rwxr-xr-x | top-nfsdcalls.stp | 5 | ||||
-rwxr-xr-x | top-rpccalls.stp | 6 |
3 files changed, 9 insertions, 7 deletions
diff --git a/top-nfscalls.stp b/top-nfscalls.stp index f3a36e3..62fe9d0 100755 --- a/top-nfscalls.stp +++ b/top-nfscalls.stp @@ -13,7 +13,8 @@ probe kernel.function("*@fs/nfs") ?, } probe end { - foreach (name in nfscalls- limit 20) - printf("%10d %s\n", nfscalls[name], name) + printf("Collating data...\n"); + foreach (name in nfscalls- limit 20) + printf("%10d %s\n", nfscalls[name], name) } diff --git a/top-nfsdcalls.stp b/top-nfsdcalls.stp index a167d4c..7bfdf03 100755 --- a/top-nfsdcalls.stp +++ b/top-nfsdcalls.stp @@ -13,7 +13,8 @@ probe kernel.function("*@fs/nfsd") ?, } probe end { - foreach (name in nfsdcalls- limit 200) - printf("%10d %s\n", nfsdcalls[name], name) + printf("Collating data...\n"); + foreach (name in nfsdcalls- limit 200) + printf("%10d %s\n", nfsdcalls[name], name) } diff --git a/top-rpccalls.stp b/top-rpccalls.stp index 06de8e5..477cd06 100755 --- a/top-rpccalls.stp +++ b/top-rpccalls.stp @@ -13,8 +13,8 @@ probe kernel.function("*@net/sunrpc") ?, } probe end { - printf("prob end:\n") - foreach (name in rpccalls- limit 40) - printf("%10d %s\n", rpccalls[name], name) + printf("Collating data...\n"); + foreach (name in rpccalls- limit 40) + printf("%10d %s\n", rpccalls[name], name) } |