|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 974 (0x3ce) Types: TextFile Names: »signature«
└─⟦db229ac7e⟧ Bits:30007240 EUUGD20: SSBA 1.2 / AFW Benchmarks └─⟦this⟧ »EUUGD20/AFUU-ssba1.21/ssba1.21E/musbus/signature« └─⟦this⟧ »EUUGD20/AFUU-ssba1.21/ssba1.21F/musbus/signature«
#! /bin/sh # $Header: signature,v 5.2 87/12/09 16:49:25 kenj Exp $ tmp=/tmp/$$ workdir=${workdir-Workload} if test -f $workdir/script.master then : else echo "signature: cannot find $workdir/script.master" exit 1 fi echo "****" test -f $workdir/DESCRIPTION && sed 's/^/* /' $workdir/DESCRIPTION sed \ -e 's/.*keyb.*| *//' \ -e '/.*keyb.*> *.*&/d' \ -e '/[a-zA-Z][a-zA-Z0-9]*=/d' \ $workdir/script.master \ | awk ' NR==1 { shell=$2; next } /^%%/ { if (head==0) head=tail+1; tail=0; next } /^%/ { next } { num++; tail++ cmd=$1 if (length(cmd)>12) cmd=substr(cmd,1,12) f[cmd]++ } END { for (cmd in f) print " " f[cmd] " " cmd >"'$tmp'" print "* Workload script profile: shell=" shell print "* " num " commands (header:" head-1 " & trailer:" tail ")" print "* freq command freq command freq command freq command" }' sort +0nr -1 $tmp \ | pr -l1 -t -4 \ | sed 's/^.../* /' echo "****" rm -rf $tmp