summaryrefslogtreecommitdiff
path: root/drivers/builtin_openssl2/crypto/lhash/num.pl
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/builtin_openssl2/crypto/lhash/num.pl')
-rw-r--r--drivers/builtin_openssl2/crypto/lhash/num.pl17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/builtin_openssl2/crypto/lhash/num.pl b/drivers/builtin_openssl2/crypto/lhash/num.pl
new file mode 100644
index 0000000000..30fedf9cd5
--- /dev/null
+++ b/drivers/builtin_openssl2/crypto/lhash/num.pl
@@ -0,0 +1,17 @@
+#!/usr/local/bin/perl
+
+#node 10 -> 4
+
+while (<>)
+ {
+ next unless /^node/;
+ chop;
+ @a=split;
+ $num{$a[3]}++;
+ }
+
+@a=sort {$a <=> $b } keys %num;
+foreach (0 .. $a[$#a])
+ {
+ printf "%4d:%4d\n",$_,$num{$_};
+ }