Guest_imported
New member
- Jan 1, 1970
- 0
Just installed 5.0.6a on a dual Xeon processor box. Everything seems to work fine except that when I run a simple script it "hangs" (not consistently hanging at the same user/place). When I disable the 2nd processor it works just fine.
Here's the script:
!/bin/ksh
login=""
glist=""
cat /tmp/userlist1 | while read myline
do
# echo $myline | tr ':' ' ' | read line2
mylogin=`echo $myline | awk -F : '{print $1}'`
uid=`echo $myline | awk -F : '{print $3}'`
gid=`echo $myline | awk -F : '{print $4}'`
desc=`echo $myline | awk -F : '{print $5}'`
home=`echo $myline | awk -F : '{print $6}'`
shell=`echo $myline | awk -F : '{print $7}'`
desc=`echo $desc | tr '_' ' ' `
cat /etc/passwd | grep -e "^$mylogin:" | wc -l | read lcount || exit
echo "$mylogin $uid $gid $desc $home $shell $lcount"
done
Ideas? I can post more info about the box (stune/mtune/hwconfig/swconfig, etc.) if desired.
Feel free to let me know if you have any suggestions/info/questions.
Any suggestions are very much appreciated!
Here's the script:
!/bin/ksh
login=""
glist=""
cat /tmp/userlist1 | while read myline
do
# echo $myline | tr ':' ' ' | read line2
mylogin=`echo $myline | awk -F : '{print $1}'`
uid=`echo $myline | awk -F : '{print $3}'`
gid=`echo $myline | awk -F : '{print $4}'`
desc=`echo $myline | awk -F : '{print $5}'`
home=`echo $myline | awk -F : '{print $6}'`
shell=`echo $myline | awk -F : '{print $7}'`
desc=`echo $desc | tr '_' ' ' `
cat /etc/passwd | grep -e "^$mylogin:" | wc -l | read lcount || exit
echo "$mylogin $uid $gid $desc $home $shell $lcount"
done
Ideas? I can post more info about the box (stune/mtune/hwconfig/swconfig, etc.) if desired.
Feel free to let me know if you have any suggestions/info/questions.
Any suggestions are very much appreciated!