Whamcloud - gitweb
Update lcrash map-making script.
authoradilger <adilger>
Sat, 22 Feb 2003 22:23:44 +0000 (22:23 +0000)
committeradilger <adilger>
Sat, 22 Feb 2003 22:23:44 +0000 (22:23 +0000)
lustre/tests/lkcdmap

index f8a1fd5..20c8c20 100755 (executable)
@@ -1,11 +1,13 @@
 #!/bin/sh
 TMP=${TMP:-/tmp}
+LCMD=$TMP/lkcd-cmds-`hostname`
+echo "Storing LKCD module info in $LCMD"
 cat /tmp/ogdb-`hostname` | while read JUNK M JUNK; do
        MOD="../$M"
        MAP=`echo $MOD | sed -e 's/\.o$/.map/'`
        MODNAME=`basename $MOD | sed -e 's/\.o$//'`
 
        nm $MOD > $MAP
-       echo namelist -a $PWD/$MOD 
-       echo symtab -a $PWD/$MAP $MODNAME
+       echo namelist -a $PWD/$MOD  | tee -a $LCMD
+       echo symtab -a $PWD/$MAP $MODNAME | tee -a $LCMD
 done