diff options
author | Steve Dickson <steved@redhat.com> | 2008-09-10 10:49:47 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2008-09-10 10:49:47 -0400 |
commit | 85014ffa32c9c07487fa729d81a0795c4c3ea8c4 (patch) | |
tree | 037847509fe8f4253f8801a473a99c9292f79893 | |
parent | 3fc0e545a2aa1a2a3717cb3fc652f8876a03c073 (diff) | |
download | systemtap-85014ffa32c9c07487fa729d81a0795c4c3ea8c4.tar.gz systemtap-85014ffa32c9c07487fa729d81a0795c4c3ea8c4.tar.xz systemtap-85014ffa32c9c07487fa729d81a0795c4c3ea8c4.zip |
Cleaned up the top-* scripts
Signed-off-by: Steve Dickson <steved@redhat.com>
-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) } |