Revision: | 1.1 |
Committed: | Tue Apr 28 18:02:22 2009 UTC (16 years ago) by gpetrucc |
Content type: | application/x-sh |
Branch: | MAIN |
CVS Tags: | V03-00-00, V02-00-00, Before34X, V01-00-00, Checkpoint_2_2_10_v1, V00-00-05, V00-00-04, HEAD |
Log Message: | A bunch of useful scripts |
# | User | Rev | Content |
---|---|---|---|
1 | gpetrucc | 1.1 | #!/bin/bash |
2 | cd $CMSSW_BASE/lib/$SCRAM_ARCH | ||
3 | ls -l *.so | sort -n -k 5 -r | \ | ||
4 | perl -ne 's/\s+/ /g; @a=split(/\s+/,$_); | ||
5 | $c = `gzip -c $a[8] | wc -c`/1024.0/1024.0; | ||
6 | print sprintf("%5.3f %5.3f \%s\n",$a[4]/1024.0/1024,$c,$a[8]);' | \ | ||
7 | head -n 18 | ||
8 | echo | ||
9 | cd $CMSSW_BASE/src; | ||
10 | for P in */*; do test -d $P/data && echo -e "$(tar cz $P/data | wc -c | awk '{print $1/1024/1024}')\t$P"; done | sort -n -r |