Friday, September 16, 2005

script to get all the relevant parameters from eri

gg@radier:/export/home/ghost/bin# more ndd_eri
#!/bin/sh

#script to get all the relevant parameters from eri

for pram in `ndd /dev/eri \? | grep -v '?' | awk '{print $1}'`
do
echo "$pram \c"
ans=`ndd -get /dev/eri $pram`
echo $ans
done

echo "##/$SUNdata (`ifconfig hme0 | grep inet| awk '{print $2}'`)

0 Comments:

Post a Comment

<< Home